DateTimeFormatterCommonOptions


class DateTimeFormatterCommonOptions


Used to support common styles, similar to the ones defined in Closure / Material.

The names here are the same as the ones in ICU4J, as Closure / Material have three different naming conventions, sometimes even internally inconsistent. Will add mapping to the Material Design recommended date / time formats.

See also
DateFormat

Summary

Public companion properties

DateTimeFormatterSkeletonOptions

Constant for date skeleton with abbreviated month and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with abbreviated month, weekday, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with hour and minute in 24-hour presentation.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with hour, minute, and second in 24-hour presentation.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with hour and minute, with the locale's preferred hour format (12 or 24).

DateTimeFormatterSkeletonOptions

Constant for date skeleton with hour, minute, and second, with the locale's preferred hour format (12 or 24).

DateTimeFormatterSkeletonOptions

Constant for date skeleton with minute and second.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with long month and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with month, weekday, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with numeric month and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with numeric month, weekday, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year and abbreviated month.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year, abbreviated month, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year, abbreviated month, weekday, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year and month.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year, month, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year, month, weekday, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year and numeric month.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year, numeric month, and day.

DateTimeFormatterSkeletonOptions

Constant for date skeleton with year, numeric month, weekday, and day.

Public constructors

Public companion properties

ABBR_MONTH_DAY

val ABBR_MONTH_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with abbreviated month and day. E.g. "Mar 27".

See also
ABBR_MONTH_DAY

ABBR_MONTH_WEEKDAY_DAY

val ABBR_MONTH_WEEKDAY_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with abbreviated month, weekday, and day. E.g. "Sat, Mar 27".

HOUR24_MINUTE

val HOUR24_MINUTEDateTimeFormatterSkeletonOptions

Constant for date skeleton with hour and minute in 24-hour presentation. E.g. "19:42". WARNING: Not user friendly (ignores user preferences) and not i18n friendly (ignoring locale customs)

See also
HOUR24_MINUTE

HOUR24_MINUTE_SECOND

val HOUR24_MINUTE_SECONDDateTimeFormatterSkeletonOptions

Constant for date skeleton with hour, minute, and second in 24-hour presentation. E.g. "19:42:57". WARNING: Not user friendly (ignores user preferences) and not i18n friendly (ignoring locale customs)

HOUR_MINUTE

val HOUR_MINUTEDateTimeFormatterSkeletonOptions

Constant for date skeleton with hour and minute, with the locale's preferred hour format (12 or 24). E.g. "7:42 PM".

See also
HOUR_MINUTE

HOUR_MINUTE_SECOND

val HOUR_MINUTE_SECONDDateTimeFormatterSkeletonOptions

Constant for date skeleton with hour, minute, and second, with the locale's preferred hour format (12 or 24). E.g. "7:42:57 PM".

MINUTE_SECOND

val MINUTE_SECONDDateTimeFormatterSkeletonOptions

Constant for date skeleton with minute and second. E.g. "42:57".

See also
MINUTE_SECOND

MONTH_DAY

val MONTH_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with long month and day. E.g. "March 27".

See also
MONTH_DAY

MONTH_WEEKDAY_DAY

val MONTH_WEEKDAY_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with month, weekday, and day. E.g. "Saturday, March 27".

NUM_MONTH_DAY

val NUM_MONTH_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with numeric month and day. E.g. "3/27". WARNING, I18N: this can be confusing for an end user. It is unclear if it is month-day, day-month or even month year.

See also
NUM_MONTH_DAY

NUM_MONTH_WEEKDAY_DAY

val NUM_MONTH_WEEKDAY_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with numeric month, weekday, and day. E.g. "Sat, 3/27". WARNING, I18N: this can be confusing for an end user. It is unclear if it is month-day, day-month or even month year.

YEAR_ABBR_MONTH

val YEAR_ABBR_MONTHDateTimeFormatterSkeletonOptions

Constant for date skeleton with year and abbreviated month. E.g. "Mar 2021".

See also
YEAR_ABBR_MONTH

YEAR_ABBR_MONTH_DAY

val YEAR_ABBR_MONTH_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with year, abbreviated month, and day. E.g. "Mar 27, 2021".

YEAR_ABBR_MONTH_WEEKDAY_DAY

val YEAR_ABBR_MONTH_WEEKDAY_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with year, abbreviated month, weekday, and day. E.g. "Sat, Mar 27, 2021".

YEAR_MONTH

val YEAR_MONTHDateTimeFormatterSkeletonOptions

Constant for date skeleton with year and month. E.g. "March 2021".

See also
YEAR_MONTH

YEAR_MONTH_DAY

val YEAR_MONTH_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with year, month, and day. E.g. "March 27, 2021".

See also
YEAR_MONTH_DAY

YEAR_MONTH_WEEKDAY_DAY

val YEAR_MONTH_WEEKDAY_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with year, month, weekday, and day. E.g. "Saturday, March 27, 2021".

YEAR_NUM_MONTH

val YEAR_NUM_MONTHDateTimeFormatterSkeletonOptions

Constant for date skeleton with year and numeric month. E.g. "3/2021".

See also
YEAR_NUM_MONTH

YEAR_NUM_MONTH_DAY

val YEAR_NUM_MONTH_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with year, numeric month, and day. E.g. "3/27/2021". WARNING, I18N: this can be confusing for an end user. It is unclear if it is month-day or day-month (think 3/4/2021 vs 4/3/2021.).

YEAR_NUM_MONTH_WEEKDAY_DAY

val YEAR_NUM_MONTH_WEEKDAY_DAYDateTimeFormatterSkeletonOptions

Constant for date skeleton with year, numeric month, weekday, and day. E.g. "Sat, 3/27/2021". WARNING, I18N: this can be confusing for an end user. It is unclear if it is month-day or day-month (think 3/4/2021 vs 4/3/2021.).

Public constructors

DateTimeFormatterCommonOptions

Added in 1.0.0-alpha01
DateTimeFormatterCommonOptions()