dateTimeFormat
fun KalugaDateFormatter.Companion.dateTimeFormat(dateStyle: DateFormatStyle = DateFormatStyle.Medium, excludeYear: Boolean, 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.
excludeYear
When true the year will not be part of the format.
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.