| Modifier and Type | Field and Description |
|---|---|
| public static final DatePart | CENTURY
The century. |
| public static final DatePart | DAY
The day. |
| public static final DatePart | DAY_OF_WEEK
The day of the week. |
| public static final DatePart | DAY_OF_YEAR
The day of the year. |
| public static final DatePart | DECADE
The decade. |
| public static final DatePart | EPOCH
The epoch in seconds since 1970-01-01. |
| public static final DatePart | HOUR
The hour. |
| public static final DatePart | ISO_DAY_OF_WEEK
The ISO day of the week. |
| private final Keyword | |
| public static final DatePart | MICROSECOND
The microsecond. |
| public static final DatePart | MILLENNIUM
The millennium. |
| public static final DatePart | MILLISECOND
The millisecond. |
| public static final DatePart | MINUTE
The minute. |
| public static final DatePart | MONTH
The month. |
| private final Name | name
Hides java. |
| public static final DatePart | NANOSECOND
The nanosecond. |
| public static final DatePart | QUARTER
The quarter. |
| public static final DatePart | SECOND
The second. |
| private final String | |
| public static final DatePart | TIMEZONE
The timezone offset in seconds. |
| public static final DatePart | TIMEZONE_HOUR
The time zone offset's hour part. |
| public static final DatePart | TIMEZONE_MINUTE
The time zone offset's minute part. |
| public static final DatePart | WEEK
The week of the year. |
| public static final DatePart | YEAR
The year. |
| Modifier and Type | Method and Description |
|---|---|
| public final Keyword | |
| public final Name | |
| public final String | |
| public static DatePart | |
| public static DatePart[] |
| CENTURY | back to summary |
|---|---|
| public static final DatePart CENTURY The century. The year 2000 is in the 20th century, the year 2001 in the 21st. | |
| DAY | back to summary |
|---|---|
| public static final DatePart DAY The day. Corresponds to | |
| DAY_OF_WEEK | back to summary |
|---|---|
| public static final DatePart DAY_OF_WEEK The day of the week. 1 = Sunday, 2 = Monday, ..., 7 = Saturday.
Corresponds to | |
| DAY_OF_YEAR | back to summary |
|---|---|
| public static final DatePart DAY_OF_YEAR The day of the year. Corresponds to | |
| DECADE | back to summary |
|---|---|
| public static final DatePart DECADE The decade. The year divided by 10. | |
| EPOCH | back to summary |
|---|---|
| public static final DatePart EPOCH The epoch in seconds since 1970-01-01. | |
| HOUR | back to summary |
|---|---|
| public static final DatePart HOUR The hour. Corresponds to | |
| ISO_DAY_OF_WEEK | back to summary |
|---|---|
| public static final DatePart ISO_DAY_OF_WEEK The ISO day of the week. 1 = Monday, 2 = Tuesday, ..., 7 = Sunday.
Corresponds to | |
| keyword | back to summary |
|---|---|
| private final Keyword keyword | |
| MICROSECOND | back to summary |
|---|---|
| public static final DatePart MICROSECOND The microsecond. | |
| MILLENNIUM | back to summary |
|---|---|
| public static final DatePart MILLENNIUM The millennium. The year 2000 is in the 2nd millennium, the year 2001 in the 3rd. | |
| MILLISECOND | back to summary |
|---|---|
| public static final DatePart MILLISECOND The millisecond. | |
| MINUTE | back to summary |
|---|---|
| public static final DatePart MINUTE The minute. Corresponds to | |
| MONTH | back to summary |
|---|---|
| public static final DatePart MONTH The month. Corresponds to | |
| name | back to summary |
|---|---|
| private final Name name Hides java. | |
| NANOSECOND | back to summary |
|---|---|
| public static final DatePart NANOSECOND The nanosecond. | |
| QUARTER | back to summary |
|---|---|
| public static final DatePart QUARTER The quarter. Jan-Mar = 1, Apr-Jun = 2, Jul-Sep = 3, Oct-Dec = 4. | |
| SECOND | back to summary |
|---|---|
| public static final DatePart SECOND The second. Corresponds to | |
| sql | back to summary |
|---|---|
| private final String sql | |
| TIMEZONE | back to summary |
|---|---|
| public static final DatePart TIMEZONE The timezone offset in seconds. Corresponds to
| |
| TIMEZONE_HOUR | back to summary |
|---|---|
| public static final DatePart TIMEZONE_HOUR The time zone offset's hour part. | |
| TIMEZONE_MINUTE | back to summary |
|---|---|
| public static final DatePart TIMEZONE_MINUTE The time zone offset's minute part. | |
| WEEK | back to summary |
|---|---|
| public static final DatePart WEEK The week of the year. | |
| YEAR | back to summary |
|---|---|
| public static final DatePart YEAR The year. Corresponds to | |
| DatePart | back to summary |
|---|---|
| private DatePart(String sql) | |
| toKeyword | back to summary |
|---|---|
| public final Keyword toKeyword() | |
| toName | back to summary |
|---|---|
| public final Name toName() | |
| toSQL | back to summary |
|---|---|
| public final String toSQL() | |
| valueOf | back to summary |
|---|---|
| public static DatePart valueOf(String name) | |
| values | back to summary |
|---|---|
| public static DatePart[] values() | |