public final class SentDateTerm extends DateTerm
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
SentDateTerm(int comparison,
java.util.Date date)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The match method.
|
getComparison, getDate, hashCode, match
public SentDateTerm(int comparison, java.util.Date date)
comparison
- the Comparison typedate
- the date to be comparedpublic boolean match(Message msg)
match
in class SearchTerm
msg
- the date comparator is applied to this Message's
sent date