Package javax.jdo.query
Interface LocalDateTimeExpression
- All Superinterfaces:
ComparableExpression<LocalDateTime>
,Expression<LocalDateTime>
Representation of a java.time.LocalDateTime type in a query.
-
Method Summary
Modifier and TypeMethodDescriptionAccessor 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.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 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 Details
-
getYear
NumericExpression<Integer> getYear()Accessor for the year of this date-time.- Returns:
- Expression for the year
-
getMonthValue
NumericExpression<Integer> getMonthValue()Accessor for the month of this date-time.- Returns:
- Expression for the month
-
getDayOfMonth
NumericExpression<Integer> getDayOfMonth()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
-