TimeOptions

data class TimeOptions<out SO : TimeStyleOptions>(val styleOptions: SO, val hourCycle: HourCycle? = null)(source)

Options to pass when formatting time.

Type Parameters

Constructors

Link copied to clipboard
constructor(styleOptions: SO, hourCycle: HourCycle? = null)

Properties

Link copied to clipboard

if not null, overrides the hour cycle (H11, H12, H23, H24) to use. When null, uses the locale's default

Link copied to clipboard

options defining the appearance of the localized time