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 other) |
boolean |
match(Message msg)
Returns true only if the given message's sent date matches the
specified date using the specified operator.
|
getComparison, getDate, hashCode, match
public SentDateTerm(int comparison, java.util.Date date)
comparison
- the comparison operatordate
- the date for comparisonpublic boolean match(Message msg)
match
in class SearchTerm