javax.mail.search
Class ReceivedDateTerm
- Serializable
public final class ReceivedDateTerm
A comparison of message received dates.
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.
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.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved