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
public final class ReceivedDateTerm
- extends DateTerm
A comparison of message received dates.
- Version:
- 1.4
- Author:
- Chris Burdess
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object other)
|
boolean |
match(Message msg)
Returns true only if the given message's received date matches this
term. |
ReceivedDateTerm
public ReceivedDateTerm(int comparison,
Date date)
- Constructor.
- Parameters:
comparison
- the comparison operatordate
- the date for comparison
match
public boolean match(Message msg)
- Returns true only if the given message's received date matches this
term.
- Specified by:
match
in class SearchTerm
equals
public boolean equals(Object other)
- Overrides:
equals
in class DateTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved