Deprecate AbstractDoubleTimeSource

There are too few usages of it, and it can be mostly replaced with AbstractLongTimeSource.
This commit is contained in:
Ilya Gorbunov
2022-09-16 22:46:27 +02:00
committed by Space
parent 57c9d61291
commit e35ace5d3a
4 changed files with 5 additions and 0 deletions
+1
View File
@@ -172,6 +172,7 @@ public fun kotlin.Long.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.D
@kotlin.SinceKotlin(version = "1.3")
@kotlin.time.ExperimentalTime
@kotlin.Deprecated(message = "Using AbstractDoubleTimeSource is no longer recommended, use AbstractLongTimeSource instead.")
public abstract class AbstractDoubleTimeSource : kotlin.time.TimeSource.WithComparableMarks {
public constructor AbstractDoubleTimeSource(unit: kotlin.time.DurationUnit)