org.hibernate.util
Class CalendarComparator

java.lang.Object
  extended by org.hibernate.util.CalendarComparator
All Implemented Interfaces:
Comparator

public class CalendarComparator
extends Object
implements Comparator

Author:
Gavin King

Field Summary
static Comparator INSTANCE
           
 
Constructor Summary
CalendarComparator()
           
 
Method Summary
 int compare(Object x, Object y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static final Comparator INSTANCE
Constructor Detail

CalendarComparator

public CalendarComparator()
Method Detail

compare

public int compare(Object x,
                   Object y)
Specified by:
compare in interface Comparator