RichUtils / pyxis.uzuki.live.richutilskt.utils / java.util.Date / normalizeDate

normalizeDate

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

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

Parameters

timeZone - optional, default is "UTC"