public class DateTimeExpressionImpl extends ComparableExpressionImpl<Date> implements DateTimeExpression<Date>
| 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, mincast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, neclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, mincast, count, countDistinct, eq, eq, instanceOf, ne, nepublic 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()
DateTimeExpressiongetDay in interface DateTimeExpression<Date>public NumericExpression<Integer> getHour()
DateTimeExpressiongetHour in interface DateTimeExpression<Date>public NumericExpression<Integer> getMinute()
DateTimeExpressiongetMinute in interface DateTimeExpression<Date>public NumericExpression<Integer> getMonth()
DateTimeExpressiongetMonth in interface DateTimeExpression<Date>public NumericExpression<Integer> getSecond()
DateTimeExpressiongetSecond in interface DateTimeExpression<Date>public NumericExpression<Integer> getYear()
DateTimeExpressiongetYear in interface DateTimeExpression<Date>Copyright © 2013. All Rights Reserved.