RichUtils / pyxis.uzuki.live.richutilskt.utils / kotlin.Long / normalizeDate

normalizeDate

@JvmOverloads fun Long.normalizeDate(timeZone: String = "UTC"): Long

normalize the date to the beginning of the day with given timeZone it equals to Time.getJulianDay()

Parameters

timeZone - optional, default is "UTC"