[stdlib] Synchronize kotlin.time in master with kotlin-mirror/master branch

This commit is contained in:
Ilya Gorbunov
2020-02-16 19:22:46 +03:00
committed by ilya-g
parent 5e30eaef55
commit 27307552e7
@@ -11,5 +11,5 @@ import kotlin.system.*
@ExperimentalTime
internal actual object MonotonicTimeSource : AbstractLongTimeSource(unit = DurationUnit.NANOSECONDS), TimeSource { // TODO: interface should not be required here
override fun read(): Long = getTimeNanos()
override fun toString(): String = "TimeSource(nanoTime)"
}
override fun toString(): String = "TimeSource(nanoTime())"
}