timeFormat

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

Parameters

style

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 timeFormat(style: DateFormatStyle = DateFormatStyle.Medium, timeZone: KalugaTimeZone = KalugaTimeZone.current(), locale: KalugaLocale = defaultLocale): KalugaDateFormatter

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

Parameters

style

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.

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

Parameters

style

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.

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

Parameters

style

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.