dateFormat

Creates a KalugaDateFormatter that only formats the date components of a KalugaDate

Parameters

style

The DateFormatStyle used for formatting the date 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 dateFormat(style: DateFormatStyle = DateFormatStyle.Medium, timeZone: KalugaTimeZone = KalugaTimeZone.current(), locale: KalugaLocale = defaultLocale): KalugaDateFormatter

Creates a KalugaDateFormatter that only formats the date components of a KalugaDate

Parameters

style

The DateFormatStyle used for formatting the date 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.

Creates a KalugaDateFormatter that only formats the date components of a KalugaDate

Parameters

style

The DateFormatStyle used for formatting the date 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.

Creates a KalugaDateFormatter that only formats the date components of a KalugaDate

Parameters

style

The DateFormatStyle used for formatting the date 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.