Package org.hibernate.internal.util
Class ZonedDateTimeComparator
- java.lang.Object
-
- org.hibernate.internal.util.ZonedDateTimeComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<ZonedDateTime>
public class ZonedDateTimeComparator extends Object implements Comparator<ZonedDateTime>, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<ZonedDateTime>
INSTANCE
-
Constructor Summary
Constructors Constructor Description ZonedDateTimeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ZonedDateTime one, ZonedDateTime another)
-
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 Comparator<ZonedDateTime> INSTANCE
-
-
Method Detail
-
compare
public int compare(ZonedDateTime one, ZonedDateTime another)
- Specified by:
compare
in interfaceComparator<ZonedDateTime>
-
-