dateTimeFormat

actual fun dateTimeFormat(dateStyle: DateFormatStyle, timeStyle: DateFormatStyle, timeZone: KalugaTimeZone, locale: KalugaLocale): KalugaDateFormatter

Creates a KalugaDateFormatter that formats both date and time components of a KalugaDate

Parameters

dateStyle

The DateFormatStyle used for formatting the date components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeStyle

The DateFormatStyle used for formatting the time components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeZone

The KalugaTimeZone for which the date should be formatted. Defaults to KalugaTimeZone.current.

locale

The KalugaLocale for which the date should be formatted. Defaults to KalugaLocale.defaultLocale.

expect fun dateTimeFormat(dateStyle: DateFormatStyle = DateFormatStyle.Medium, timeStyle: DateFormatStyle = DateFormatStyle.Medium, timeZone: KalugaTimeZone = KalugaTimeZone.current(), locale: KalugaLocale = defaultLocale): KalugaDateFormatter

Creates a KalugaDateFormatter that formats both date and time components of a KalugaDate

Parameters

dateStyle

The DateFormatStyle used for formatting the date components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeStyle

The DateFormatStyle used for formatting the time components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeZone

The KalugaTimeZone for which the date should be formatted. Defaults to KalugaTimeZone.current.

locale

The KalugaLocale for which the date should be formatted. Defaults to KalugaLocale.defaultLocale.

actual fun dateTimeFormat(dateStyle: DateFormatStyle, timeStyle: DateFormatStyle, timeZone: KalugaTimeZone, locale: KalugaLocale): KalugaDateFormatter

Creates a KalugaDateFormatter that formats both date and time components of a KalugaDate

Parameters

dateStyle

The DateFormatStyle used for formatting the date components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeStyle

The DateFormatStyle used for formatting the time components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeZone

The KalugaTimeZone for which the date should be formatted. Defaults to KalugaTimeZone.current.

locale

The KalugaLocale for which the date should be formatted. Defaults to KalugaLocale.defaultLocale.

actual fun dateTimeFormat(dateStyle: DateFormatStyle, timeStyle: DateFormatStyle, timeZone: KalugaTimeZone, locale: KalugaLocale): KalugaDateFormatter

Creates a KalugaDateFormatter that formats both date and time components of a KalugaDate

Parameters

dateStyle

The DateFormatStyle used for formatting the date components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeStyle

The DateFormatStyle used for formatting the time components of the KalugaDate. Defaults to DateFormatStyle.Medium.

timeZone

The KalugaTimeZone for which the date should be formatted. Defaults to KalugaTimeZone.current.

locale

The KalugaLocale for which the date should be formatted. Defaults to KalugaLocale.defaultLocale.