public class DateExpressionImpl extends ComparableExpressionImpl<Date> implements DateExpression
Constructor and Description |
---|
DateExpressionImpl(Class<Date> cls,
String name,
ExpressionType type) |
DateExpressionImpl(org.datanucleus.query.expression.Expression queryExpr) |
DateExpressionImpl(PersistableExpression parent,
String name) |
Modifier and Type | Method and 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.
|
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 DateExpressionImpl(PersistableExpression parent, String name)
public DateExpressionImpl(Class<Date> cls, String name, ExpressionType type)
public DateExpressionImpl(org.datanucleus.query.expression.Expression queryExpr)
public NumericExpression<Integer> getDay()
DateExpression
getDay
in interface DateExpression
public NumericExpression<Integer> getMonth()
DateExpression
getMonth
in interface DateExpression
public NumericExpression<Integer> getYear()
DateExpression
getYear
in interface DateExpression
Copyright © 2017. All rights reserved.