Bali Share 1.1.18

oracle.bali.share.sort
Class DateComparator

java.lang.Object
  |
  +--oracle.bali.share.sort.DateComparator
All Implemented Interfaces:
Comparator

public class DateComparator
extends java.lang.Object
implements Comparator

This class implements a Comparator for Date objects.

See Also:
Comparator, Date

Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Implement the Comparator interface by comparing two Date objects.
static Comparator getComparator()
          Get the only instance of the Comparator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getComparator

public static Comparator getComparator()
Get the only instance of the Comparator.

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Implement the Comparator interface by comparing two Date objects.
Specified by:
compare in interface Comparator

Bali Share 1.1.18