|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.ComparisonTerm
javax.mail.search.DateTerm
public abstract class DateTerm
A date comparison.
Field Summary | |
---|---|
protected java.util.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,
java.util.Date date)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
int |
getComparison()
Returns the comparison operator. |
java.util.Date |
getDate()
Returns the date to compare with. |
int |
hashCode()
|
protected boolean |
match(java.util.Date d)
Returns true only if this comparison matches the supplied date. |
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 java.util.Date date
Constructor Detail |
---|
protected DateTerm(int comparison, java.util.Date date)
comparison
- the comparison typedate
- the dateMethod Detail |
---|
public java.util.Date getDate()
public int getComparison()
protected boolean match(java.util.Date d)
public boolean equals(java.lang.Object other)
equals
in class ComparisonTerm
public int hashCode()
hashCode
in class ComparisonTerm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |