public final class ReceivedDateTerm extends DateTerm
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
ReceivedDateTerm(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 received date matches this
term.
|
getComparison, getDate, hashCode, match
public ReceivedDateTerm(int comparison, java.util.Date date)
comparison
- the comparison operatordate
- the date for comparisonpublic boolean match(Message msg)
match
in class SearchTerm
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved