Package javax.jdo.query
Interface DateExpression
- All Superinterfaces:
ComparableExpression<Date>
,Expression<Date>
Representation of a date in a query.
-
Method Details
-
getYear
NumericExpression<Integer> getYear()Accessor for the year of this date.- Returns:
- Expression for the year
-
getMonth
NumericExpression<Integer> getMonth()Accessor for the month of this date.- Returns:
- Expression for the month
-
getDay
NumericExpression<Integer> getDay()Accessor for the day (of the month) of this date.- Returns:
- Expression for the day of the month
-