|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.Expr<D> com.mysema.query.types.expr.ESimple<D> com.mysema.query.types.expr.EComparableBase<D> com.mysema.query.types.expr.EComparable<D> com.mysema.query.types.expr.EDateOrTime<D> com.mysema.query.types.expr.EDate<D> com.mysema.query.types.expr.EDateTime<D>
D
- public abstract class EDateTime<D extends Comparable>
EDateTime represents Date / Time expressions The date representation is compatible with the Gregorian calendar.
Field Summary |
---|
Fields inherited from class com.mysema.query.types.Expr |
---|
primitive |
Constructor Summary | |
---|---|
EDateTime(Class<? extends D> type)
|
Method Summary | ||
---|---|---|
EDateTime<D> |
as(Path<D> alias)
Create an alias for the operation |
|
static EDateTime<Date> |
currentDate()
Get an expression representing the current date as a EDateTime instance |
|
static
|
currentDate(Class<T> cl)
Get an expression representing the current date as a EDateTime instance |
|
static EDateTime<Date> |
currentTimestamp()
Get an expression representing the current time instant as a EDateTime instance |
|
static
|
currentTimestamp(Class<T> cl)
Get an expression representing the current time instant as a EDateTime instance |
|
ENumber<Integer> |
hour()
Get a hours expression (range 0-23) |
|
EDateTime<D> |
max()
Get the maximum value of this expression (aggregation) |
|
ENumber<Integer> |
milliSecond()
Get a milliseconds expression (range 0-999) |
|
EDateTime<D> |
min()
Get the minimum value of this expression (aggregation) |
|
ENumber<Integer> |
minute()
Get a minutes expression (range 0-59) |
|
ENumber<Integer> |
second()
Get a seconds expression (range 0-59) |
Methods inherited from class com.mysema.query.types.expr.EDate |
---|
dayOfMonth, dayOfWeek, dayOfYear, month, week, year, yearMonth |
Methods inherited from class com.mysema.query.types.expr.EDateOrTime |
---|
after, after, before, before |
Methods inherited from class com.mysema.query.types.expr.EComparable |
---|
between, between, goe, goe, gt, gt, in, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.EComparableBase |
---|
asc, castToNum, desc, stringValue |
Methods inherited from class com.mysema.query.types.expr.ESimple |
---|
count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
Methods inherited from class com.mysema.query.types.Expr |
---|
accept, asExpr, equals, getType, hashCode, notIn, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EDateTime(Class<? extends D> type)
Method Detail |
---|
public static EDateTime<Date> currentDate()
public static <T extends Comparable> EDateTime<T> currentDate(Class<T> cl)
public static EDateTime<Date> currentTimestamp()
public static <T extends Comparable> EDateTime<T> currentTimestamp(Class<T> cl)
public EDateTime<D> as(Path<D> alias)
ESimple
as
in class EDate<D extends Comparable>
public ENumber<Integer> hour()
public EDateTime<D> max()
max
in class EDate<D extends Comparable>
public ENumber<Integer> milliSecond()
Is always 0 in HQL and JDOQL modules
public EDateTime<D> min()
min
in class EDate<D extends Comparable>
public ENumber<Integer> minute()
public ENumber<Integer> second()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |