@@ -21,15 +21,15 @@ import kotlin.jvm.JvmName
2121import kotlin.time.Duration
2222import kotlin.time.TimeSource
2323
24- public fun Instant.toStdlibInstant (): kotlinx .time.Instant =
25- kotlinx .time.Instant .fromEpochSeconds(epochSeconds, nanosecondsOfSecond)
24+ public fun Instant.toStdlibInstant (): kotlin .time.Instant =
25+ kotlin .time.Instant .fromEpochSeconds(epochSeconds, nanosecondsOfSecond)
2626
27- public fun kotlinx .time.Instant.toDeprecatedInstant (): Instant =
27+ public fun kotlin .time.Instant.toDeprecatedInstant (): Instant =
2828 Instant .fromEpochSeconds(epochSeconds, nanosecondsOfSecond)
2929
3030@Deprecated(
3131 " Use kotlin.time.Instant instead" ,
32- ReplaceWith (" kotlinx .time.Instant" , " kotlinx .time.Instant" ),
32+ ReplaceWith (" kotlin .time.Instant" , " kotlin .time.Instant" ),
3333 level = DeprecationLevel .WARNING
3434)
3535@Serializable(with = InstantIso8601Serializer ::class )
@@ -185,7 +185,7 @@ public expect class Instant : Comparable<Instant> {
185185
186186
187187 public companion object {
188- @Deprecated(" Use Clock.System.now() instead" , ReplaceWith (" Clock.System.now()" , " kotlinx .time.Clock" ), level = DeprecationLevel .ERROR )
188+ @Deprecated(" Use Clock.System.now() instead" , ReplaceWith (" Clock.System.now()" , " kotlin .time.Clock" ), level = DeprecationLevel .ERROR )
189189 public fun now (): Instant
190190
191191 /* *
@@ -288,7 +288,7 @@ public expect class Instant : Comparable<Instant> {
288288 */
289289@Deprecated(" kotlinx.datetime.Instant is superseded by kotlin.time.Instant" ,
290290 level = DeprecationLevel .WARNING ,
291- replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlinx .time.isDistantPast" )
291+ replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlin .time.isDistantPast" )
292292)
293293public val Instant .isDistantPast: Boolean
294294 get() = this <= Instant .DISTANT_PAST
@@ -300,7 +300,7 @@ public val Instant.isDistantPast: Boolean
300300 */
301301@Deprecated(" kotlinx.datetime.Instant is superseded by kotlin.time.Instant" ,
302302 level = DeprecationLevel .WARNING ,
303- replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlinx .time.isDistantFuture" )
303+ replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlin .time.isDistantFuture" )
304304)
305305public val Instant .isDistantFuture: Boolean
306306 get() = this >= Instant .DISTANT_FUTURE
0 commit comments