|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.expr.Expr<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.EDateTime<D>
D
- public abstract class EDateTime<D extends Comparable>
EDateTime represents Date / Time expressions
Constructor Summary | |
---|---|
EDateTime(Class<? extends D> type)
|
Method Summary | ||
---|---|---|
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> |
dayOfMonth()
Get a day of month expression (range 1-31) |
|
ENumber<Integer> |
dayOfWeek()
Get a day of week expression (range 1-7 / SUN-SAT) NOT supported in JDOQL and not in Derby |
|
ENumber<Integer> |
dayOfYear()
Get a day of year expression (range 1-356) NOT supported in JDOQL and not in Derby |
|
ENumber<Integer> |
hour()
Get a hours expression (range 0-23) |
|
ENumber<Integer> |
milliSecond()
Get a milliseconds expression (range 0-999) Is always 0 in HQL and JDOQL modules |
|
ENumber<Integer> |
minute()
Get a minutes expression (range 0-59) |
|
ENumber<Integer> |
month()
Get a month expression (range 1-12) |
|
ENumber<Integer> |
second()
Get a seconds expression (range 0-59) |
|
ENumber<Integer> |
week()
Get a week expression NOT supported in JDOQL and not in Derby |
|
ENumber<Integer> |
year()
Get a year expression |
|
ENumber<Integer> |
yearMonth()
Get a year / month expression |
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, 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.Expr |
---|
accept, count, countAll, countDistinct, eq, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when |
Methods inherited from class java.lang.Object |
---|
clone, equals, 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 ENumber<Integer> dayOfMonth()
public ENumber<Integer> dayOfWeek()
NOT supported in JDOQL and not in Derby
public ENumber<Integer> dayOfYear()
NOT supported in JDOQL and not in Derby
public ENumber<Integer> hour()
public ENumber<Integer> milliSecond()
Is always 0 in HQL and JDOQL modules
public ENumber<Integer> minute()
public ENumber<Integer> month()
public ENumber<Integer> second()
public ENumber<Integer> week()
NOT supported in JDOQL and not in Derby
public ENumber<Integer> year()
public ENumber<Integer> yearMonth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |