public abstract class DateTerm extends ComparisonTerm
| 限定符和类型 | 字段和说明 |
|---|---|
protected Date |
date
The date.
|
comparison, EQ, GE, GT, LE, LT, NE| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
matchprotected Date date
protected DateTerm(int comparison,
Date date)
comparison - the comparison typedate - The Date to be compared againstpublic Date getDate()
public int getComparison()
protected boolean match(Date d)
d - the date in the constructor is compared with this datepublic boolean equals(Object obj)
equals 在类中 ComparisonTermpublic int hashCode()
hashCode 在类中 ComparisonTermCopyright © 2021 Oracle. All rights reserved.