DefaultWallClock

Default wall clock, suitable for general-purpose application needs.

Functions

Link copied to clipboard
open override fun now(): DateTime

Read the current value of the clock.

Link copied to clipboard
open override fun resolution(): DateTime

Query the resolution of the clock. The nanoseconds field of the output is always less than 1000000000.