javax.mail.search
public abstract class DateTerm extends ComparisonTerm
Version: 1.4
Field Summary | |
---|---|
protected Date | date
The date. |
Constructor Summary | |
---|---|
protected | DateTerm(int comparison, Date date)
Constructor. |
Method Summary | |
---|---|
boolean | equals(Object other) |
int | getComparison()
Returns the comparison operator. |
Date | getDate()
Returns the date to compare with. |
int | hashCode() |
protected boolean | match(Date d)
Returns true only if this comparison matches the supplied date. |
Parameters: comparison the comparison type date the date