LocalTimeOptions

data class LocalTimeOptions<out S : LocalTimeStyleOptions>(val styleOptions: S, val hourCycle: HourCycle? = Defaults.HOUR_CYCLE) : TimeOptions<S> , PolyglotLocalizerOptions<LocalTimeLocalizer>

Options to pass when localizing a local time (no timezone information).

Constructors

Link copied to clipboard
constructor(styleOptions: S, hourCycle: HourCycle? = Defaults.HOUR_CYCLE)

Properties

Link copied to clipboard
open override val hourCycle: HourCycle?

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

Link copied to clipboard
open override val styleOptions: S

Options defining the appearance of the localized time

Functions

Link copied to clipboard
open override fun localizer(locale: PlatformLocale): LocalTimeLocalizer