|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.ComparisonTerm
javax.mail.search.DateTerm
public abstract class DateTerm
This class implements comparisons for Dates
| 字段摘要 | |
|---|---|
protected Date |
date
The date. |
| 从类 javax.mail.search.ComparisonTerm 继承的字段 |
|---|
comparison, EQ, GE, GT, LE, LT, NE |
| 构造方法摘要 | |
|---|---|
protected |
DateTerm(int comparison,
Date date)
Constructor. |
| 方法摘要 | |
|---|---|
boolean |
equals(Object obj)
Equality comparison. |
int |
getComparison()
Return the type of comparison. |
Date |
getDate()
Return the Date to compare with. |
int |
hashCode()
Compute a hashCode for this object. |
protected boolean |
match(Date d)
The date comparison method. |
| 从类 javax.mail.search.SearchTerm 继承的方法 |
|---|
match |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Date date
| 构造方法详细信息 |
|---|
protected DateTerm(int comparison,
Date date)
comparison - the comparison typedate - The Date to be compared against| 方法详细信息 |
|---|
public Date getDate()
public int getComparison()
protected boolean match(Date d)
d - the date in the constructor is compared with this date
public boolean equals(Object obj)
ComparisonTerm 中的 equalspublic int hashCode()
ComparisonTerm 中的 hashCode
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||