org.datanucleus.query.typesafe
Interface DateExpression<T>

Type Parameters:
T - Date type
All Superinterfaces:
ComparableExpression<Date>, Expression<Date>, TemporalExpression<T>

public interface DateExpression<T>
extends TemporalExpression<T>

Representation of a date in a query.


Method Summary
 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.
 
Methods inherited from interface org.datanucleus.query.typesafe.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
 

Method Detail

getYear

NumericExpression<Integer> getYear()
Accessor for the year of this date.

Returns:
Expression for the year

getMonth

NumericExpression<Integer> getMonth()
Accessor for the month of this date.

Returns:
Expression for the month

getDay

NumericExpression<Integer> getDay()
Accessor for the day (of the month) of this date.

Returns:
Expression for the day of the month


Copyright © 2013. All Rights Reserved.