public class DateTimeExpressionImpl extends ComparableExpressionImpl<Date> implements DateTimeExpression
Constructor and Description |
---|
DateTimeExpressionImpl(Class<Date> cls,
String name,
ExpressionType type) |
DateTimeExpressionImpl(org.datanucleus.query.expression.Expression queryExpr) |
DateTimeExpressionImpl(PersistableExpression parent,
String name) |
Modifier and Type | Method and Description |
---|---|
NumericExpression<Integer> |
getDay()
Accessor for the day (of the month) of this date-time.
|
NumericExpression<Integer> |
getHour()
Accessor for the hour of this date-time.
|
NumericExpression<Integer> |
getMinute()
Accessor for the minute of this date-time.
|
NumericExpression<Integer> |
getMonth()
Accessor for the month of this date-time.
|
NumericExpression<Integer> |
getSecond()
Accessor for the second of this date-time.
|
NumericExpression<Integer> |
getYear()
Accessor for the year of this date-time.
|
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
public DateTimeExpressionImpl(PersistableExpression parent, String name)
public DateTimeExpressionImpl(Class<Date> cls, String name, ExpressionType type)
public DateTimeExpressionImpl(org.datanucleus.query.expression.Expression queryExpr)
public NumericExpression<Integer> getDay()
DateTimeExpression
getDay
in interface DateTimeExpression
public NumericExpression<Integer> getHour()
DateTimeExpression
getHour
in interface DateTimeExpression
public NumericExpression<Integer> getMinute()
DateTimeExpression
getMinute
in interface DateTimeExpression
public NumericExpression<Integer> getMonth()
DateTimeExpression
getMonth
in interface DateTimeExpression
public NumericExpression<Integer> getSecond()
DateTimeExpression
getSecond
in interface DateTimeExpression
public NumericExpression<Integer> getYear()
DateTimeExpression
getYear
in interface DateTimeExpression
Copyright © 2017. All rights reserved.