DynamicLocalDateOptions

Localization options for DynamicLocalDateLocalizer.

Constructors

Link copied to clipboard
constructor(relativeOptions: RelativeLocalDateOptions = RelativeLocalDateOptions(), absoluteOptions: DateStyleOptions, relativeDiffRange: IntRange = DEFAULT_DIFF_RANGE)

Properties

Link copied to clipboard

options to use when the localization is absolute

Link copied to clipboard

configures the ranges of days difference with the reference point for which to use relative localization. By default, this is -10..+10, meaning that only the past and future 10 days are localized relatively.

Link copied to clipboard

options to use when the localization is relative