core / io.islandtime.base / DateTimeField

DateTimeField

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) enum class DateTimeField

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.

Enum Values

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

YEAR

The proleptic year.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

YEAR_OF_ERA

The year of the era.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

ERA

The era.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

MONTH_OF_YEAR

The month of the year, such as January

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DAY_OF_YEAR

The day of the year.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DAY_OF_MONTH

The day of the month.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DAY_OF_WEEK

The day of the week, such as Sunday.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

AM_PM_OF_DAY

AM or PM of the day.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

HOUR_OF_DAY

The hour of the day, from 0 to 23.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

MINUTE_OF_HOUR

The minute of the hour, from 0 to 59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

SECOND_OF_MINUTE

The second of the minute, from 0 to 59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

NANOSECOND_OF_SECOND

The nanosecond of the second, from 0 to 999,999,999.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

MILLISECOND_OF_SECOND

The millisecond of the second, from 0 to 999.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_SIGN

The sign of the UTC offset, -1 (negative) or 1 (positive).

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_HOURS

The hour component of the UTC offset, from 0-18.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_MINUTES

The minute component of the UTC offset, from 0-59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_SECONDS

The second component of the UTC offset, from 0-59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_TOTAL_SECONDS

The total number of seconds in the UTC offset, from (-18 * 60 * 60) to (18 * 60 * 60).

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_SIGN

The sign of the period, -1 (negative) or 1 (positive).

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_YEARS

A period of years.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_MONTHS

A period of months.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_WEEKS

A period of weeks.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_DAYS

A period of days.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DURATION_OF_HOURS

A duration of hours.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DURATION_OF_MINUTES

A duration of minutes.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DURATION_OF_SECONDS

A duration of seconds.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

IS_UNBOUNDED

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.

Inheritors

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

AM_PM_OF_DAY

AM or PM of the day.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DAY_OF_MONTH

The day of the month.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DAY_OF_WEEK

The day of the week, such as Sunday.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DAY_OF_YEAR

The day of the year.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DURATION_OF_HOURS

A duration of hours.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DURATION_OF_MINUTES

A duration of minutes.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

DURATION_OF_SECONDS

A duration of seconds.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

ERA

The era.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

HOUR_OF_DAY

The hour of the day, from 0 to 23.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

IS_UNBOUNDED

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.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

MILLISECOND_OF_SECOND

The millisecond of the second, from 0 to 999.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

MINUTE_OF_HOUR

The minute of the hour, from 0 to 59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

MONTH_OF_YEAR

The month of the year, such as January

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

NANOSECOND_OF_SECOND

The nanosecond of the second, from 0 to 999,999,999.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_DAYS

A period of days.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_MONTHS

A period of months.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_WEEKS

A period of weeks.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_OF_YEARS

A period of years.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PERIOD_SIGN

The sign of the period, -1 (negative) or 1 (positive).

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

SECOND_OF_MINUTE

The second of the minute, from 0 to 59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_HOURS

The hour component of the UTC offset, from 0-18.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_MINUTES

The minute component of the UTC offset, from 0-59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_SECONDS

The second component of the UTC offset, from 0-59.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_SIGN

The sign of the UTC offset, -1 (negative) or 1 (positive).

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

UTC_OFFSET_TOTAL_SECONDS

The total number of seconds in the UTC offset, from (-18 * 60 * 60) to (18 * 60 * 60).

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

YEAR

The proleptic year.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

YEAR_OF_ERA

The year of the era.