java.lang.Object
jakarta.mail.search.SearchTerm
org.eclipse.angus.mail.imap.OlderTerm
- All Implemented Interfaces:
Serializable
Find messages that are older than a given interval (in seconds).
Relies on the server implementing the WITHIN search extension
(RFC 5032).
- Since:
- JavaMail 1.5.1
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OlderTerm
public OlderTerm(int interval) Constructor.- Parameters:
interval
- number of seconds older
-
-
Method Details
-
getInterval
public int getInterval()Return the interval.- Returns:
- the interval
-
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. -
hashCode
public int hashCode()Compute a hashCode for this object.
-