java.io.Serializable
public final class SentDateTerm extends DateTerm
comparison, EQ, GE, GT, LE, LT, NE
Constructor | Description |
---|---|
SentDateTerm(int comparison,
java.util.Date date) |
Constructor.
|
Modifier and Type | Method | 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 dateCopyright © 2018 Oracle. All rights reserved.