nowUtc
fun DefaultKalugaDate.Companion.nowUtc(offset: Duration = 0.milliseconds, locale: KalugaLocale = defaultLocale): KalugaDate
Creates a KalugaDate relative to the current time, in the UTC timezone
Return
A KalugaDate relative to the current time, in the UTC timezone
Parameters
offset
The Duration from the current time. Defaults to 0 milliseconds
locale
The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale
fun DefaultKalugaDate.Companion.nowUtc(offsetInMilliseconds: Long, locale: KalugaLocale = defaultLocale): KalugaDate
Creates a KalugaDate relative to the current time, in the UTC timezone
Return
A KalugaDate relative to the current time, in the UTC timezone
Parameters
offsetInMilliseconds
The offset in milliseconds from the current time. Defaults to 0
locale
The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale