Class DateDescendingComparator<T extends Date>

java.lang.Object
com.jalios.util.DateComparator<T>
com.jalios.util.DateDescendingComparator<T>
Type Parameters:
T - if this implementation is used, T must be a sub class of java.util.Date
All Implemented Interfaces:
Comparator<T>

public class DateDescendingComparator<T extends Date> extends DateComparator<T>
This class implements a Comparator which compares two Date objects in the descending order. It is the reverse comparator of DateComparator. Note: because it's a descending comparator, it behaves in the opposite way of what Comparator says.
Author:
Olivier Jaquemet
See Also:
  • Constructor Details

    • DateDescendingComparator

      public DateDescendingComparator()
  • Method Details