[stdlib] Synchronize kotlin.time in master with kotlin-mirror/master branch
This commit is contained in:
@@ -11,5 +11,5 @@ import kotlin.system.*
|
|||||||
@ExperimentalTime
|
@ExperimentalTime
|
||||||
internal actual object MonotonicTimeSource : AbstractLongTimeSource(unit = DurationUnit.NANOSECONDS), TimeSource { // TODO: interface should not be required here
|
internal actual object MonotonicTimeSource : AbstractLongTimeSource(unit = DurationUnit.NANOSECONDS), TimeSource { // TODO: interface should not be required here
|
||||||
override fun read(): Long = getTimeNanos()
|
override fun read(): Long = getTimeNanos()
|
||||||
override fun toString(): String = "TimeSource(nanoTime)"
|
override fun toString(): String = "TimeSource(nanoTime())"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user