epoch

fun DefaultKalugaDate.Companion.epoch(offsetInMilliseconds: Long, timeZone: KalugaTimeZone = KalugaTimeZone.current(), locale: KalugaLocale = defaultLocale): KalugaDate

Creates a KalugaDate relative to January 1st 1970 00:00:00 GMT

Return

A KalugaDate relative to the current time

Parameters

offsetInMilliseconds

The offset in milliseconds from the epoch time. Defaults to 0

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