Interface DateTimeExpression
- All Superinterfaces:
ComparableExpression<Date>, Expression<Date>
Representation of a date-time type in a query.
-
Method Summary
Modifier and TypeMethodDescriptiongetDay()Accessor for the day (of the month) of this date-time.getHour()Accessor for the hour of this date-time.Accessor for the minute of this date-time.getMonth()Accessor for the month of this date-time.Accessor for the second of this date-time.getYear()Accessor for the year of this date-time.Methods inherited from interface ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, minMethods inherited from interface Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
Method Details
-
getYear
NumericExpression<Integer> getYear()Accessor for the year of this date-time.- Returns:
- Expression for the year
-
getMonth
NumericExpression<Integer> getMonth()Accessor for the month of this date-time.- Returns:
- Expression for the month
-
getDay
NumericExpression<Integer> getDay()Accessor for the day (of the month) of this date-time.- Returns:
- Expression for the day of the month
-
getHour
NumericExpression<Integer> getHour()Accessor for the hour of this date-time.- Returns:
- Expression for the hour
-
getMinute
NumericExpression<Integer> getMinute()Accessor for the minute of this date-time.- Returns:
- Expression for the minute
-
getSecond
NumericExpression<Integer> getSecond()Accessor for the second of this date-time.- Returns:
- Expression for the second
-