public class DateMathComparator extends JAMonComparator implements Serializable
Constructor and Description |
---|
DateMathComparator(int dateField,
int dateToAdd) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareThis(Object o1,
Object o2)
2 dates are equal if they are both above or below the Calendar field threshold
date1 is greater if it is greater than threshold and date2 isn't
date1 is less than the threshold than it is greater than date2.
|
compare, isNaturalOrder
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
protected int compareThis(Object o1, Object o2)
compareThis
in class JAMonComparator
Copyright © 2015. All rights reserved.