|
JIDE Common Layer 2.7.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jidesoft.comparator.CalendarComparator
public class CalendarComparator
Comparator for Calendar type. This is a singleton class. Call getInstance() to get the comparator.
Constructor Summary | |
---|---|
protected |
CalendarComparator()
Constructor. |
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two Calendars. |
static CalendarComparator |
getInstance()
Returns CalendarComparator singleton. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
protected CalendarComparator()
Method Detail |
---|
public static CalendarComparator getInstance()
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- the first object to be comparedo2
- the second object to be compared
|
JIDE Common Layer 2.7.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |