Package javax.jdo.query
Interface DateExpression
-
- All Superinterfaces:
ComparableExpression<Date>
,Expression<Date>
public interface DateExpression extends ComparableExpression<Date>
Representation of a date in a query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NumericExpression<Integer>
getDay()
Accessor for the day (of the month) of this date.NumericExpression<Integer>
getMonth()
Accessor for the month of this date.NumericExpression<Integer>
getYear()
Accessor for the year of this date.-
Methods inherited from interface javax.jdo.query.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
-
Methods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
-
-
-
Method Detail
-
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
-
-