RelativeDateAbsoluteTimeOptions

data class RelativeDateAbsoluteTimeOptions(val dateOptions: RelativeLocalDateOptions = RelativeLocalDateOptions(), val timeOptions: LocalTimeOptions<*>, val joinerStyle: DateStyle = Defaults.JOINER) : PolyglotLocalizerOptions<RelativeDateAbsoluteTimeLocalizer> (source)

Localization options for RelativeDateAbsoluteTimeLocalizer, localizeRelativeDateAbsoluteTime, and localizeRelativeDateAbsoluteTimeAsFlow.

Parameters

dateOptions

relative date options, see RelativeLocalDateOptions

timeOptions

absolute time options, see LocalTimeOptions

joinerStyle

the style of the join between the date and time components (e.g. <date>, <time> vs <date> at <time>)

Constructors

Link copied to clipboard
constructor(dateOptions: RelativeLocalDateOptions = RelativeLocalDateOptions(), timeOptions: LocalTimeOptions<*>, joinerStyle: DateStyle = Defaults.JOINER)
constructor(dateOptions: RelativeLocalDateOptions = RelativeLocalDateOptions(), timeOptions: LocalTimeStyleOptions = Defaults.LOCAL_TIME, joinerStyle: DateStyle = Defaults.JOINER)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun localizer(locale: PlatformLocale = getDefaultLocale()): RelativeDateAbsoluteTimeLocalizer

Returns a new instance of the PolyglotLocalizer of type L that this options belongs to.