public final class SentDateTerm extends DateTerm
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
SentDateTerm(int comparison,
Date date)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The match method.
|
getComparison, getDate, hashCode, match
public SentDateTerm(int comparison, 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 © 2017 JBoss by Red Hat. All rights reserved.