javax.mail.search
Class SentDateTerm
- Serializable
public final class SentDateTerm
 This class implements comparisons for the Message SentDate.
|  boolean | equals(Object other) Equality comparison.
 | 
|  boolean | match(Message msg) The match method.
 | 
SentDateTerm
public SentDateTerm(int comparison,
                    Date date) Constructor.
- comparison- the Comparison type
- date- the date to be compared
equals
public boolean equals(Object other)
 Equality comparison.
- equals in interface DateTerm
match
public boolean match(Message msg)
 The match method.
- match in interface SearchTerm
- msg- the date comparator is applied to this Message's sent date
- true if the comparison succeeds, otherwise false