T
- With the main implementation, T must be a sub class of java.util.Datepublic class DateComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
Comparator
which compares two
Date objects in the ascending order.Comparator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
DateComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |
static int |
compareDate(java.util.Date d1,
java.util.Date d2)
Compares two Dates in ascending order.
|
public static final java.lang.String REVISION
Copyright © 2001-2010 Jalios SA. All Rights Reserved.