public final class ReceivedDateTerm extends DateTerm
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
ReceivedDateTerm(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 ReceivedDateTerm(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
received dateCopyright © 2016 JBoss by Red Hat. All rights reserved.