Date Time Field
A field describing a property of a date, time, or measurement of time.
These are intended to be used primarily during parsing and formatting. Each date-time primitive is capable of resolving or supplying the set of fields that are applicable to it.
Entries
YEAR_OF_ERA
Link copied to clipboard
Content copied to clipboard
The year of the era.
MONTH_OF_YEAR
Link copied to clipboard
Content copied to clipboard
The month of the year, such as
JanuaryIn the ISO calendar system, this will be from 1 (January) to 12 (December).DAY_OF_YEAR
Link copied to clipboard
Content copied to clipboard
The day of the year.
DAY_OF_MONTH
Link copied to clipboard
Content copied to clipboard
The day of the month.
DAY_OF_WEEK
Link copied to clipboard
Content copied to clipboard
The day of the week, such as
Sunday.AM_PM_OF_DAY
Link copied to clipboard
Content copied to clipboard
AM or PM of the day.
HOUR_OF_DAY
Link copied to clipboard
Content copied to clipboard
The hour of the day, from 0 to 23.
MINUTE_OF_HOUR
Link copied to clipboard
Content copied to clipboard
The minute of the hour, from 0 to 59.
SECOND_OF_MINUTE
Link copied to clipboard
Content copied to clipboard
The second of the minute, from 0 to 59.
NANOSECOND_OF_SECOND
Link copied to clipboard
Content copied to clipboard
The nanosecond of the second, from 0 to 999,999,999.
MILLISECOND_OF_SECOND
Link copied to clipboard
Content copied to clipboard
The millisecond of the second, from 0 to 999.
UTC_OFFSET_SIGN
Link copied to clipboard
Content copied to clipboard
The sign of the UTC offset, -1 (negative) or 1 (positive).
UTC_OFFSET_HOURS
Link copied to clipboard
Content copied to clipboard
The hour component of the UTC offset, from 0-18.
UTC_OFFSET_MINUTES
Link copied to clipboard
Content copied to clipboard
The minute component of the UTC offset, from 0-59.
UTC_OFFSET_SECONDS
Link copied to clipboard
Content copied to clipboard
The second component of the UTC offset, from 0-59.
UTC_OFFSET_TOTAL_SECONDS
Link copied to clipboard
Content copied to clipboard
The total number of seconds in the UTC offset, from (-18 * 60 * 60) to (18 * 60 * 60).
PERIOD_SIGN
Link copied to clipboard
Content copied to clipboard
The sign of the period, -1 (negative) or 1 (positive).
PERIOD_OF_YEARS
Link copied to clipboard
Content copied to clipboard
A period of years.
PERIOD_OF_MONTHS
Link copied to clipboard
Content copied to clipboard
A period of months.
PERIOD_OF_WEEKS
Link copied to clipboard
Content copied to clipboard
A period of weeks.
PERIOD_OF_DAYS
Link copied to clipboard
Content copied to clipboard
A period of days.
DURATION_OF_HOURS
Link copied to clipboard
Content copied to clipboard
A duration of hours.
DURATION_OF_MINUTES
Link copied to clipboard
Content copied to clipboard
A duration of minutes.
DURATION_OF_SECONDS
Link copied to clipboard
Content copied to clipboard
A duration of seconds.
IS_UNBOUNDED
Link copied to clipboard
Content copied to clipboard
Indicates the presence of the minimum or maximum sentinel value, which should treated as unbounded (in ISO-8601 parlance, "open") in the context of an interval.