SentDateTermpublic final class SentDateTerm extends DateTerm This class implements comparisons for the Message SentDate. |
Fields Summary |
---|
private static final long | serialVersionUID |
Constructors Summary |
---|
public SentDateTerm(int comparison, Date date)Constructor.
super(comparison, date);
|
Methods Summary |
---|
public boolean | equals(java.lang.Object obj)Equality comparison.
if (!(obj instanceof SentDateTerm))
return false;
return super.equals(obj);
| public boolean | match(javax.mail.Message msg)The match method.
Date d;
try {
d = msg.getSentDate();
} catch (Exception e) {
return false;
}
if (d == null)
return false;
return super.match(d);
|
|