javax.mail.search
Class DateTerm
- Serializable
public abstract class DateTerm
A date comparison.
protected Date | date - The date.
|
DateTerm(int comparison, Date date) - Constructor.
|
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.
|
date
protected Date date
The date.
DateTerm
protected DateTerm(int comparison,
Date date)
Constructor.
comparison
- the comparison typedate
- the date
getComparison
public int getComparison()
Returns the comparison operator.
getDate
public Date getDate()
Returns the date to compare with.
match
protected boolean match(Date d)
Returns true only if this comparison matches the supplied date.
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved