Time Mark
Represents a time point notched on a particular TimeSource. Remains bound to the time source it was taken from and allows querying for the duration of time elapsed from that point (see the function elapsedNow).
Since Kotlin
1.3
Constructors
Functions
elapsed Now
Link copied to clipboard
Returns the amount of time passed from this mark measured with the time source from which this mark was taken.
has Not Passed Now
Link copied to clipboard
Returns false if this time mark has not passed according to the time source from which this mark was taken.
has Passed Now
Link copied to clipboard
Returns true if this time mark has passed according to the time source from which this mark was taken.