|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.mail.search
|
Field Summary | |
---|---|
protected Date |
date
The date. |
Fields inherited from class javax.mail.search.ComparisonTerm |
---|
comparison, EQ, GE, GT, LE, LT, NE |
Constructor Summary | |
---|---|
protected |
DateTerm(int comparison,
Date date)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Equality comparison. |
int |
getComparison()
Return the type of comparison. |
Date |
getDate()
Return the Date to compare with. |
int |
hashCode()
Compute a hashCode for this object. |
protected boolean |
match(Date d)
The date comparison method. |
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 |
---|
protected Date date
Constructor Detail |
---|
protected DateTerm(int comparison, Date date)
comparison
- the comparison typedate
- The Date to be compared againstMethod Detail |
---|
public Date getDate()
public int getComparison()
protected boolean match(Date d)
d
- the date in the constructor is compared with this date
public boolean equals(Object obj)
equals
in class ComparisonTerm
public int hashCode()
hashCode
in class ComparisonTerm