javax.mail.search
类 ReceivedDateTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.ComparisonTerm
javax.mail.search.DateTerm
javax.mail.search.ReceivedDateTerm
- 所有已实现的接口:
- Serializable
public final class ReceivedDateTerm
- extends DateTerm
This class implements comparisons for the Message Received date
- 作者:
- Bill Shannon, John Mani
- 另请参见:
- 序列化表格
ReceivedDateTerm
public ReceivedDateTerm(int comparison,
Date date)
- Constructor.
- 参数:
comparison - the Comparison typedate - the date to be compared
match
public boolean match(Message msg)
- The match method.
- 指定者:
- 类
SearchTerm 中的 match
- 参数:
msg - the date comparator is applied to this Message's
sent date
- 返回:
- true if the comparison succeeds, otherwise false
equals
public boolean equals(Object obj)
- Equality comparison.
- 覆盖:
- 类
DateTerm 中的 equals
Copyright © 2013. All Rights Reserved.