Companion

object Companion

Time's companion

Functions

Link copied to clipboard
external fun daysFromMilliseconds(ms: Long): Long

Extract days from a time interval in milliseconds

Link copied to clipboard
external fun getLocalTime(): Time?

Returns a time object with local time

Link copied to clipboard

Get time zone in milliseconds

Link copied to clipboard
external fun getUniversalTime(): Time?

Returns a time object with universal time

Link copied to clipboard
external fun hoursFromMilliseconds(ms: Long, remaining: Boolean): Long

Extract hours from a time interval in milliseconds

Link copied to clipboard
external fun minutesFromMilliseconds(ms: Long, remaining: Boolean): Long

Extract minutes from a time interval in milliseconds

Link copied to clipboard
external fun secondsFromMilliseconds(ms: Long, remaining: Boolean): Long

Extract seconds from a time interval in milliseconds

Link copied to clipboard
external fun toMilliseconds(days: Long, hours: Long, minutes: Long, seconds: Long, milliseconds: Long): Long