formatLocalized

expect fun LocalDate.formatLocalized(dateStyle: FormatStyle = FormatStyle.MEDIUM): String

Formats a localized string representing a LocalDate.

Return

the localized string.

Parameters

dateStyle

the amount of detail to include for the date.


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

Formats a localized string representing a LocalDateTime.

Return

the localized string.

Parameters

dateStyle

the amount of detail to include for the date component.

timeStyle

the amount of detail to include for the time component.

actual fun ERROR CLASS: Symbol not found for LocalDate.formatLocalized(dateStyle: FormatStyle): String
actual fun ERROR CLASS: Symbol not found for LocalDateTime.formatLocalized(dateStyle: FormatStyle, timeStyle: FormatStyle): String
actual fun LocalDate.formatLocalized(dateStyle: FormatStyle): String
actual fun LocalDateTime.formatLocalized(dateStyle: FormatStyle, timeStyle: FormatStyle): String
actual fun LocalDate.formatLocalized(dateStyle: FormatStyle): String
actual fun LocalDateTime.formatLocalized(dateStyle: FormatStyle, timeStyle: FormatStyle): String