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 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
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved