Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API. |
org.jooq.impl |
The
org.jooq.impl package contains jOOQ's implementation classes. |
Modifier and Type | Method and Description |
---|---|
static DatePart |
DatePart.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatePart[] |
DatePart.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Field<Integer> |
Field.extract(DatePart datePart)
This method is part of the pre-2.0 API.
|
Modifier and Type | Method and Description |
---|---|
static Field<Date> |
DSL.dateAdd(Date date,
Field<? extends Number> interval,
DatePart datePart)
Add an interval to a date, given a date part.
|
static Field<Date> |
DSL.dateAdd(Date date,
Number interval,
DatePart datePart)
Add an interval to a date, given a date part.
|
static Field<Date> |
DSL.dateAdd(Field<Date> date,
Field<? extends Number> interval,
DatePart datePart)
Add an interval to a date, given a date part.
|
static Field<Date> |
DSL.dateAdd(Field<Date> date,
Number interval,
DatePart datePart)
Add an interval to a date, given a date part.
|
static Field<Date> |
DSL.dateSub(Date date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
|
static Field<Date> |
DSL.dateSub(Date date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
|
static Field<Date> |
DSL.dateSub(Field<Date> date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
|
static Field<Date> |
DSL.dateSub(Field<Date> date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
|
static Field<Integer> |
DSL.extract(Date value,
DatePart datePart)
Get the extract(field, datePart) function.
|
static Field<Integer> |
DSL.extract(Field<? extends Date> field,
DatePart datePart)
Get the extract(field, datePart) function.
|
static Field<Timestamp> |
DSL.timestampAdd(Field<Timestamp> date,
Field<? extends Number> interval,
DatePart datePart)
Add an interval to a timestamp, given a date part.
|
static Field<Timestamp> |
DSL.timestampAdd(Field<Timestamp> date,
Number interval,
DatePart datePart)
Add an interval to a timestamp, given a date part.
|
static Field<Timestamp> |
DSL.timestampAdd(Timestamp date,
Field<? extends Number> interval,
DatePart datePart)
Add an interval to a timestamp, given a date part.
|
static Field<Timestamp> |
DSL.timestampAdd(Timestamp date,
Number interval,
DatePart datePart)
Add an interval to a timestamp, given a date part.
|
static Field<Date> |
DSL.trunc(Date date,
DatePart part)
Truncate a date to a given datepart.
|
static <T extends Date> |
DSL.trunc(Field<T> date,
DatePart part)
Truncate a date or a timestamp to a given datepart.
|
static Field<Timestamp> |
DSL.trunc(Timestamp timestamp,
DatePart part)
Truncate a timestamp to a given datepart.
|
Copyright © 2016. All Rights Reserved.