| java.lang.Object com.jamonapi.utils.JAMonComparator com.jamonapi.utils.DateMathComparator
DateMathComparator | public class DateMathComparator extends JAMonComparator (Code) | | Comparator that allows you to pass Calendar fields and a negative number for the number
of this filed (i.e. hours/days) that a Date should not exceed. Use fields like Calendar.DATE, HOUR_OF_DAY, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR ETC.
. Values to b used for dateToAdd in the constructor could be -7 for 7 days ago, or -24 for 24 hours ago depending on what
was passed in the dateField.
author: steve souza |
DateMathComparator | public DateMathComparator(int dateField, int dateToAdd)(Code) | | |
|
|