DateTimeFormatterSkeletonOptions.Year


class DateTimeFormatterSkeletonOptions.Year


Calendar year (numeric).

Summary

Public companion functions

DateTimeFormatterSkeletonOptions.Year

Public companion properties

DateTimeFormatterSkeletonOptions.Year

Produces no output.

DateTimeFormatterSkeletonOptions.Year

As many digits as needed to show the full value.

DateTimeFormatterSkeletonOptions.Year

The two low-order digits of the year, zero-padded as necessary.

Public properties

String

Public companion functions

fromString

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

Public companion properties

NONE

val NONE: DateTimeFormatterSkeletonOptions.Year

Produces no output.

NUMERIC

val NUMERIC: DateTimeFormatterSkeletonOptions.Year

As many digits as needed to show the full value. E.g. "2021" or "2009".

TWO_DIGITS

val TWO_DIGITS: DateTimeFormatterSkeletonOptions.Year

The two low-order digits of the year, zero-padded as necessary. E.g. "21" or "09".

Public properties

value

Added in 1.0.0
val value: String