Class CalendarComparator
- java.lang.Object
-
- org.hibernate.internal.util.compare.CalendarComparator
-
- All Implemented Interfaces:
Comparator<Calendar>
public class CalendarComparator extends Object implements Comparator<Calendar>
-
-
Field Summary
Fields Modifier and Type Field Description static CalendarComparator
INSTANCE
-
Constructor Summary
Constructors Constructor Description CalendarComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Calendar x, Calendar y)
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
INSTANCE
public static final CalendarComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(Calendar x, Calendar y)
- Specified by:
compare
in interfaceComparator<Calendar>
-
-