org.netbeans.lib.cvsclient.admin
Class DateComparator

java.lang.Object
  extended by org.netbeans.lib.cvsclient.admin.DateComparator

public class DateComparator
extends java.lang.Object

A class for comparing the file's date and the CVS/Entries date.


Method Summary
 boolean equals(long fileTime, long entryTime)
          Compares the specified dates, whether they should be treated as equal.
static DateComparator getInstance()
          Returns an instance of a DateComparator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DateComparator getInstance()
Returns an instance of a DateComparator.


equals

public boolean equals(long fileTime,
                      long entryTime)
Compares the specified dates, whether they should be treated as equal. Returns true to indicate equality.


 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.