KalugaDateFormatter

Default implementation of BaseDateFormatter

Default implementation of BaseDateFormatter

Default implementation of BaseDateFormatter

Default implementation of BaseDateFormatter

Default implementation of BaseDateFormatter

Default implementation of BaseDateFormatter backed by the ECMAScript Intl.DateTimeFormat API for style-based formatting and the luxon library for custom pattern formatting and parsing. Shared by the JS family (js + wasmJs).

Java-style pattern tokens (yyyy, MM, dd, HH, 'literal', Z, …) are translated to luxon's tokens so consumers can keep using the same patterns they use on Android/JVM.

Types

Link copied to clipboard
actual object Companion
actual object Companion
expect object Companion
actual object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
actual open override var amString: String

The name used to describe A.M. when using a twelve hour clock.

actual open override var amString: String

The name used to describe A.M. when using a twelve hour clock.

expect open override var amString: String

The name used to describe A.M. when using a twelve hour clock.

actual open override var amString: String

The name used to describe A.M. when using a twelve hour clock.

actual open override var amString: String

The name used to describe A.M. when using a twelve hour clock.

actual open override var amString: String

The name used to describe A.M. when using a twelve hour clock.

Link copied to clipboard
actual open override var eras: List<String>

A list containing the names of all eras used by this date formatter.

actual open override var eras: List<String>

A list containing the names of all eras used by this date formatter.

expect open override var eras: List<String>

A list containing the names of all eras used by this date formatter.

actual open override var eras: List<String>

A list containing the names of all eras used by this date formatter.

actual open override var eras: List<String>

A list containing the names of all eras used by this date formatter.

actual open override var eras: List<String>

A list containing the names of all eras used by this date formatter.

Link copied to clipboard
actual open override var months: List<String>

A list containing the names of all months used by this date formatter.

actual open override var months: List<String>

A list containing the names of all months used by this date formatter.

expect open override var months: List<String>

A list containing the names of all months used by this date formatter.

actual open override var months: List<String>

A list containing the names of all months used by this date formatter.

actual open override var months: List<String>

A list containing the names of all months used by this date formatter.

actual open override var months: List<String>

A list containing the names of all months used by this date formatter.

Link copied to clipboard
actual open override var pattern: String
actual open override var pattern: String
expect open override var pattern: String
actual open override var pattern: String
actual open override var pattern: String
actual open override var pattern: String
Link copied to clipboard
actual open override var pmString: String

The name used to describe P.M. when using a twelve hour clock.

actual open override var pmString: String

The name used to describe P.M. when using a twelve hour clock.

expect open override var pmString: String

The name used to describe P.M. when using a twelve hour clock.

actual open override var pmString: String

The name used to describe P.M. when using a twelve hour clock.

actual open override var pmString: String

The name used to describe P.M. when using a twelve hour clock.

actual open override var pmString: String

The name used to describe P.M. when using a twelve hour clock.

Link copied to clipboard
actual open override var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

actual open override var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

expect open override var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

actual open override var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

actual open override var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

actual open override var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

Link copied to clipboard
actual open override var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

actual open override var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

expect open override var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

actual open override var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

actual open override var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

actual open override var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

Link copied to clipboard
actual open override var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

actual open override var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

expect open override var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

actual open override var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

actual open override var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

actual open override var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

Link copied to clipboard
actual open override var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

actual open override var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

expect open override var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

actual open override var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

actual open override var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

actual open override var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

Functions

Link copied to clipboard
actual open override fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

actual open override fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

expect open override fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

actual open override fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

actual open override fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

actual open override fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

Link copied to clipboard
actual open override fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.

actual open override fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.

expect open override fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.

actual open override fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.

actual open override fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.

actual open override fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.