AbstractLongTimeSource

abstract class AbstractLongTimeSource(unit: DurationUnit) : TimeSource

An abstract class used to implement time sources that return their readings as Long values in the specified unit.

Since Kotlin

1.3

Constructors

AbstractLongTimeSource
Link copied to clipboard
fun AbstractLongTimeSource(unit: DurationUnit)

Functions

markNow
Link copied to clipboard
open override fun markNow(): TimeMark

Marks a point in time on this time source.

Inheritors

TestTimeSource
Link copied to clipboard