now

actual fun now(offset: Duration, timeZone: KalugaTimeZone, locale: KalugaLocale): KalugaDate

Creates a KalugaDate relative to the current time

Return

A KalugaDate relative to the current time

Parameters

offset

The Duration from the current time. Defaults to 0 milliseconds

timeZone

The KalugaTimeZone in which the Date is set. Defaults to KalugaTimeZone.current

locale

The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale

expect fun now(offset: Duration = 0.milliseconds, timeZone: KalugaTimeZone = KalugaTimeZone.current(), locale: KalugaLocale = defaultLocale): KalugaDate

Creates a KalugaDate relative to the current time

Return

A KalugaDate relative to the current time

Parameters

offset

The Duration from the current time. Defaults to 0 milliseconds

timeZone

The KalugaTimeZone in which the Date is set. Defaults to KalugaTimeZone.current

locale

The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale

actual fun now(offset: Duration, timeZone: KalugaTimeZone, locale: KalugaLocale): KalugaDate

Creates a KalugaDate relative to the current time

Return

A KalugaDate relative to the current time

Parameters

offset

The Duration from the current time. Defaults to 0 milliseconds

timeZone

The KalugaTimeZone in which the Date is set. Defaults to KalugaTimeZone.current

locale

The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale

actual fun now(offset: Duration, timeZone: KalugaTimeZone, locale: KalugaLocale): KalugaDate

Creates a KalugaDate relative to the current time

Return

A KalugaDate relative to the current time

Parameters

offset

The Duration from the current time. Defaults to 0 milliseconds

timeZone

The KalugaTimeZone in which the Date is set. Defaults to KalugaTimeZone.current

locale

The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale