DynamicYearMonthOptions

data class DynamicYearMonthOptions(val relativeOptions: RelativeYearMonthOptions = RelativeYearMonthOptions(), val absoluteOptions: YearMonthOptions, val relativeDiffRange: IntRange = -1..1)(source)

Localization options for DynamicYearMonthLocalizer.

Constructors

Link copied to clipboard
constructor(relativeOptions: RelativeYearMonthOptions = RelativeYearMonthOptions(), absoluteOptions: YearMonthOptions, relativeDiffRange: IntRange = -1..1)

Properties

Link copied to clipboard

options to use when the localization is absolute

Link copied to clipboard

configures the ranges of months difference with the reference point for which to use relative localization. By default, this is -1..+1, meaning only last, current, and next months are localized relatively.

Link copied to clipboard

options to use when the localization is relative