java.io.Serializable
ReceivedDateTerm
, SentDateTerm
public abstract class DateTerm extends ComparisonTerm
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Date |
date |
The date.
|
comparison, EQ, GE, GT, LE, LT, NE
Modifier | Constructor | Description |
---|---|---|
protected |
DateTerm(int comparison,
java.util.Date date) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
int |
getComparison() |
Returns the comparison operator.
|
java.util.Date |
getDate() |
Returns the date to compare with.
|
int |
hashCode() |
|
protected boolean |
match(java.util.Date d) |
Returns true only if this comparison matches the supplied date.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
match
protected DateTerm(int comparison, java.util.Date date)
comparison
- the comparison typedate
- the datepublic java.util.Date getDate()
public int getComparison()
protected boolean match(java.util.Date d)
public boolean equals(java.lang.Object other)
equals
in class ComparisonTerm
public int hashCode()
hashCode
in class ComparisonTerm
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved