Package-level declarations
Types
An exception for Date operations.
Analogous to Duration but doesn't allocate on the JS target. Important when used intensively in JS code. For example in KorGE.
Class to provide time that can be overridden to mock or change its behaviour.
Properties
Duration representing this number as microseconds or 1 / 1_000_000 seconds.
Returns the total number of microseconds for this Duration (1 / 1_000_000 seconds)
Returns the total number of microseconds for this Duration (1 / 1_000_000 seconds) as Integer
Duration representing this number as milliseconds or 1 / 1_000 seconds.
Returns the total number of milliseconds as an Int
Returns the total number of milliseconds as a Long
Duration representing this number as nanoseconds or 1 / 1_000_000_000 seconds.
Returns the total number of nanoseconds for this Duration (1 / 1_000_000_000 seconds)
Returns the total number of nanoseconds for this Duration (1 / 1_000_000_000 seconds) as Integer
Returns the total number of nanoseconds for this Duration (1 / 1_000_000_000 seconds)
Functions
Sleeps the thread during the specified time. Spinlocks on JS