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