Companion
object Companion
Functions
Link copied to clipboard
fun createAdjusted(year: Int, month: Int, day: Int, hour: Int = 0, minute: Int = 0, second: Int = 0, milliseconds: Int = 0): DateTime
Constructs a new DateTime from date and time information.
Link copied to clipboard
fun createClamped(year: Int, month: Int, day: Int, hour: Int = 0, minute: Int = 0, second: Int = 0, milliseconds: Int = 0): DateTime
Constructs a new DateTime from date and time information.
Link copied to clipboard
fun createUnchecked(year: Int, month: Int, day: Int, hour: Int = 0, minute: Int = 0, second: Int = 0, milliseconds: Int = 0): DateTime
Constructs a new DateTime from date and time information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the total milliseconds since unix epoch. The same as nowUnixMillisLong but as double. To prevent allocation on targets without Long support.
Link copied to clipboard
Returns the total milliseconds since unix epoch.
Link copied to clipboard
Link copied to clipboard