Package javax.mail.search
Class ReceivedDateTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.ComparisonTerm
javax.mail.search.DateTerm
javax.mail.search.ReceivedDateTerm
- All Implemented Interfaces:
Serializable
This class implements comparisons for the Message Received date
- See Also:
-
Field Summary
Fields inherited from class javax.mail.search.ComparisonTerm
comparison, EQ, GE, GT, LE, LT, NE
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.mail.search.DateTerm
getComparison, getDate, hashCode, match
-
Constructor Details
-
ReceivedDateTerm
Constructor.- Parameters:
comparison
- the Comparison typedate
- the date to be compared
-
-
Method Details
-
match
The match method.- Specified by:
match
in classSearchTerm
- Parameters:
msg
- the date comparator is applied to this Message's received date- Returns:
- true if the comparison succeeds, otherwise false
-
equals
Equality comparison.
-