Package-level declarations

Types

Link copied to clipboard

Styles used when formatting time or dates.

Functions

Link copied to clipboard
expect fun LocalDate.formatLocalized(dateStyle: FormatStyle = FormatStyle.MEDIUM): String

Formats a localized string representing a LocalDate.

expect fun LocalDateTime.formatLocalized(dateStyle: FormatStyle = FormatStyle.MEDIUM, timeStyle: FormatStyle = FormatStyle.MEDIUM): String

Formats a localized string representing a LocalDateTime.

actual fun <Error class: unknown class>.formatLocalized(dateStyle: <Error class: unknown class>): String
actual fun <Error class: unknown class>.formatLocalized(dateStyle: <Error class: unknown class>, timeStyle: <Error class: unknown class>): String
actual fun LocalDate.formatLocalized(dateStyle: FormatStyle): String
actual fun LocalDateTime.formatLocalized(dateStyle: FormatStyle, timeStyle: FormatStyle): String