|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.jaret.util.date.holidayenumerator.HolidayEnumeratorBase.NamedDateImpl
public class HolidayEnumeratorBase.NamedDateImpl
Implementation of the NamedDate for use with holiday enumerators.
Constructor Summary | |
---|---|
HolidayEnumeratorBase.NamedDateImpl(Date date,
String name,
boolean holiday)
|
Method Summary | |
---|---|
int |
compareTo(NamedDate date)
|
boolean |
equals(Object obj)
|
Date |
getDate()
Retrieve the date. |
String |
getName()
Retrive the name of the date. |
int |
hashCode()
|
boolean |
isHoliday()
Return whether the day is marked as a holiday. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HolidayEnumeratorBase.NamedDateImpl(Date date, String name, boolean holiday)
Method Detail |
---|
public String getName()
getName
in interface NamedDate
public Date getDate()
getDate
in interface NamedDate
public boolean isHoliday()
isHoliday
in interface NamedDate
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public int compareTo(NamedDate date)
compareTo
in interface Comparable<NamedDate>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |