javax.mail.search

Class ReceivedDateTerm

public final class ReceivedDateTerm extends DateTerm

A comparison of message received dates.

Version: 1.3

Author: Chris Burdess

Constructor Summary
ReceivedDateTerm(int comparison, Date date)
Constructor.
Method Summary
booleanequals(Object other)
booleanmatch(Message msg)
Returns true only if the given message's received date matches this term.

Constructor Detail

ReceivedDateTerm

public ReceivedDateTerm(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 received date matches this term.
©