Package-level declarations

Types

Link copied to clipboard
actual class DayOfWeekLocalizer : PolyglotDateTimeLocalizer<ERROR CLASS: Symbol not found for DayOfWeek>

Class to localize a DayOfWeek.

Link copied to clipboard
Link copied to clipboard

Class to localize a Month.

actual class MonthLocalizer : PolyglotDateTimeLocalizer<ERROR CLASS: Symbol not found for Month>

Class to localize a Month.

Class to localize a Month.

Link copied to clipboard
data class MonthOptions(val style: MonthStyle = MonthStyle.WIDE) : PolyglotLocalizerOptions<MonthLocalizer>
Link copied to clipboard

Class to localize a standalone TimeZone for standalone usage.

actual class TimeZoneLocalizer : PolyglotDateTimeLocalizer<ERROR CLASS: Symbol not found for TimeZone>

Class to localize a standalone TimeZone for standalone usage.

Class to localize a standalone TimeZone for standalone usage.

Link copied to clipboard
data class TimeZoneOptions(val style: TimeZoneStyle.Generic = TimeZoneStyle.Generic.LOCATION) : PolyglotLocalizerOptions<TimeZoneLocalizer>

Functions

Link copied to clipboard
fun DayOfWeek.localize(options: DayOfWeekOptions = DayOfWeekOptions(), locale: PlatformLocale = getDefaultLocale()): String

Localizes this DayOfWeek for use in a standalone context.

fun Month.localize(options: MonthOptions = MonthOptions(), locale: PlatformLocale = getDefaultLocale()): String

Localizes this Month for use in a standalone context.

fun TimeZone.localize(options: TimeZoneOptions = TimeZoneOptions(), locale: PlatformLocale = getDefaultLocale()): String

Localizes this TimeZone for use in a standalone context.