DateTimeFormatterSkeletonOptions.Hour


class DateTimeFormatterSkeletonOptions.Hour


Hour (numeric).

Summary

Public companion functions

DateTimeFormatterSkeletonOptions.Hour

Public properties

String

Public companion functions

Public companion properties

FORCE_12H_NUMERIC

val FORCE_12H_NUMERICDateTimeFormatterSkeletonOptions.Hour

Bad i18n. As many digits as needed to show the full value. Day period added automatically. E.g. "8 AM", "1 PM".

FORCE_12H_TWO_DIGITS

val FORCE_12H_TWO_DIGITSDateTimeFormatterSkeletonOptions.Hour

Bad i18n. Two digits, zero pad if needed. Day period added automatically. E.g. "08 AM", "01 PM".

FORCE_24H_NUMERIC

val FORCE_24H_NUMERICDateTimeFormatterSkeletonOptions.Hour

Bad i18n. As many digits as needed to show the full value. No day period. E.g. "8", "13".

FORCE_24H_TWO_DIGITS

val FORCE_24H_TWO_DIGITSDateTimeFormatterSkeletonOptions.Hour

Bad i18n. Two digits, zero pad if needed. No day period. E.g. "08", "13".

NONE

val NONEDateTimeFormatterSkeletonOptions.Hour

Produces no output.

NUMERIC

val NUMERICDateTimeFormatterSkeletonOptions.Hour

As many digits as needed to show the full value. Day period if used. E.g. "8", "8 AM", "13", "1 PM".

TWO_DIGITS

val TWO_DIGITSDateTimeFormatterSkeletonOptions.Hour

Two digits, zero pad if needed. DayPeriod if used. Might be bad i18n. E.g. "08", "08 AM", "13", "01 PM".

Public properties

value

Added in 1.0.0-alpha01
val valueString