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