javax.mail.search
Class SentDateTerm
- Serializable
public final class SentDateTerm
A comparison of message sent dates.
boolean | equals(Object other)
|
boolean | match(Message msg) - Returns true only if the given message's sent date matches the
specified date using the specified operator.
|
SentDateTerm
public SentDateTerm(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 sent date matches the
specified date using the specified operator.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved