org.browsecode.helpers
Class CalendarComparator
java.lang.Object
org.browsecode.helpers.CalendarComparator
- All Implemented Interfaces:
- java.util.Comparator
public class CalendarComparator
- extends java.lang.Object
- implements java.util.Comparator
Method Summary |
int |
compare(java.lang.Object arg0,
java.lang.Object arg1)
|
static int |
compareTwo(java.lang.Object arg0,
java.lang.Object arg1)
|
static boolean |
isSameDay(java.util.Calendar one,
java.util.Calendar two)
|
static boolean |
isSameMonth(java.util.Calendar one,
java.util.Calendar two)
|
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 |
CalendarComparator
public CalendarComparator()
isSameMonth
public static boolean isSameMonth(java.util.Calendar one,
java.util.Calendar two)
isSameDay
public static boolean isSameDay(java.util.Calendar one,
java.util.Calendar two)
compareTwo
public static int compareTwo(java.lang.Object arg0,
java.lang.Object arg1)
compare
public int compare(java.lang.Object arg0,
java.lang.Object arg1)
- Specified by:
compare
in interface java.util.Comparator