public class CalendarComparator extends Object implements Comparator<Calendar>
Modifier and Type | Field and Description |
---|---|
static CalendarComparator |
INSTANCE |
Constructor and Description |
---|
CalendarComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Calendar x,
Calendar y) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final CalendarComparator INSTANCE
public int compare(Calendar x, Calendar y)
compare
in interface Comparator<Calendar>
Copyright © 2020 JBoss by Red Hat. All rights reserved.