Introduce TestClock.plusAssign(Duration) and hide implementation details

TestClock.plusAssign(Duration) is for advancing TestClock time.
Hide reading value, do not allow to provide initial reading,
fix clock unit to nanoseconds at construction time.
This commit is contained in:
Ilya Gorbunov
2019-08-08 22:40:36 +03:00
parent 4de9361c37
commit f889d25287
5 changed files with 111 additions and 20 deletions
@@ -5390,10 +5390,7 @@ public final class kotlin/time/MonoClock : kotlin/time/AbstractLongClock, kotlin
public final class kotlin/time/TestClock : kotlin/time/AbstractLongClock {
public fun <init> ()V
public fun <init> (JLjava/util/concurrent/TimeUnit;)V
public synthetic fun <init> (JLjava/util/concurrent/TimeUnit;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getReading ()J
public final fun setReading (J)V
public final fun plusAssign-LRDsOJo (D)V
}
public final class kotlin/time/TimedValue {