|
|||||||||||
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
javax.mail.search.SentDateTerm
A comparison of message sent dates.
Field Summary |
Fields inherited from class javax.mail.search.DateTerm |
date |
Fields inherited from class javax.mail.search.ComparisonTerm |
comparison, EQ, GE, GT, LE, LT, NE |
Constructor Summary | |
SentDateTerm(int comparison,
java.util.Date date)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object other)
|
boolean |
match(Message msg)
Returns true only if the given message's sent date matches the specified date using the specified operator. |
Methods inherited from class javax.mail.search.DateTerm |
getComparison, getDate, hashCode, match |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SentDateTerm(int comparison, java.util.Date date)
comparison
- the comparison operatordate
- the date for comparisonMethod Detail |
public boolean match(Message msg)
match
in class SearchTerm
public boolean equals(java.lang.Object other)
equals
in class DateTerm
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |