javax.mail.search
Class DateTerm

java.lang.Object
  extended by javax.mail.search.SearchTerm
      extended by javax.mail.search.ComparisonTerm
          extended by javax.mail.search.DateTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ReceivedDateTerm, SentDateTerm

public abstract class DateTerm
extends ComparisonTerm

Version:
$Rev: 593593 $ $Date: 2007-11-09 12:04:20 -0500 (Fri, 09 Nov 2007) $
See Also:
Serialized Form

Field Summary
protected  Date date
           
 
Fields inherited from class javax.mail.search.ComparisonTerm
comparison, EQ, GE, GT, LE, LT, NE
 
Constructor Summary
protected DateTerm(int comparison, Date date)
           
 
Method Summary
 boolean equals(Object other)
           
 int getComparison()
           
 Date getDate()
           
 int hashCode()
           
protected  boolean match(Date match)
           
 
Methods inherited from class javax.mail.search.SearchTerm
match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

protected Date date
Constructor Detail

DateTerm

protected DateTerm(int comparison,
                   Date date)
Method Detail

getDate

public Date getDate()

getComparison

public int getComparison()

match

protected boolean match(Date match)

equals

public boolean equals(Object other)
Overrides:
equals in class ComparisonTerm

hashCode

public int hashCode()
Overrides:
hashCode in class ComparisonTerm


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.