javax.mail.search

Class SentDateTerm

public final class SentDateTerm extends DateTerm

A comparison of message sent dates.

Version: 1.3

Author: Chris Burdess

Constructor Summary
SentDateTerm(int comparison, Date date)
Constructor.
Method Summary
booleanequals(Object other)
booleanmatch(Message msg)
Returns true only if the given message's sent date matches the specified date using the specified operator.

Constructor Detail

SentDateTerm

public SentDateTerm(int comparison, Date date)
Constructor.

Parameters: comparison the comparison operator date the date for comparison

Method Detail

equals

public boolean equals(Object other)

match

public boolean match(Message msg)
Returns true only if the given message's sent date matches the specified date using the specified operator.
©