TimeSupplier

interface TimeSupplier

Interface for supplying current time.

Inheritors

Functions

Link copied to clipboard
abstract fun getCurrentTimeMillis(): Long
Gets the current time in milliseconds.
Link copied to clipboard
open fun getNanoTime(): Long
Gets the current value of a monotonic clock in nanoseconds.