Formats

actual object Formats(source)
expect object Formats(source)

A collection of predefined formats for parsing and formatting LocalDate values.

See LocalDate.Formats.ISO and LocalDate.Formats.ISO_BASIC for popular predefined formats. LocalDate.parse and LocalDate.toString can be used as convenient shortcuts for the LocalDate.Formats.ISO format.

If predefined formats are not sufficient, use LocalDate.Format to create a custom kotlinx.datetime.format.DateTimeFormat for LocalDate values.

actual object Formats(source)
actual object Formats(source)

Properties

Link copied to clipboard

ISO 8601 extended format, which is the format used by LocalDate.toString and LocalDate.parse.

Link copied to clipboard

ISO 8601 basic format.