DateTimeFormatterSkeletonOptions.Hour


class DateTimeFormatterSkeletonOptions.Hour


Hour (numeric).

Summary

Public companion functions

DateTimeFormatterSkeletonOptions.Hour

Public properties

String

Public companion functions

fromString

Added in 1.0.0
fun fromString(value: String): DateTimeFormatterSkeletonOptions.Hour

Public companion properties

FORCE_12H_NUMERIC

val FORCE_12H_NUMERIC: DateTimeFormatterSkeletonOptions.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_DIGITS: DateTimeFormatterSkeletonOptions.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_NUMERIC: DateTimeFormatterSkeletonOptions.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_DIGITS: DateTimeFormatterSkeletonOptions.Hour

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

NONE

val NONE: DateTimeFormatterSkeletonOptions.Hour

Produces no output.

NUMERIC

val NUMERIC: DateTimeFormatterSkeletonOptions.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_DIGITS: DateTimeFormatterSkeletonOptions.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
val value: String