@@ -22,20 +22,20 @@ import kotlin.time.Duration
2222import kotlin.time.TimeSource
2323
2424/* *
25- * Creates a [kotlinx .time.Instant] (the standard library version of `Instant`) identical to `this`.
25+ * Creates a [kotlin .time.Instant] (the standard library version of `Instant`) identical to `this`.
2626 */
27- public fun Instant.toStdlibInstant (): kotlinx .time.Instant =
28- kotlinx .time.Instant .fromEpochSeconds(epochSeconds, nanosecondsOfSecond)
27+ public fun Instant.toStdlibInstant (): kotlin .time.Instant =
28+ kotlin .time.Instant .fromEpochSeconds(epochSeconds, nanosecondsOfSecond)
2929
3030/* *
3131 * Creates a [kotlinx.datetime.Instant] identical to the version of `Instant` from the standard library.
3232 */
33- public fun kotlinx .time.Instant.toDeprecatedInstant (): Instant =
33+ public fun kotlin .time.Instant.toDeprecatedInstant (): Instant =
3434 Instant .fromEpochSeconds(epochSeconds, nanosecondsOfSecond)
3535
3636@Deprecated(
3737 " Use kotlin.time.Instant instead" ,
38- ReplaceWith (" kotlinx .time.Instant" , " kotlinx .time.Instant" ),
38+ ReplaceWith (" kotlin .time.Instant" , " kotlin .time.Instant" ),
3939 level = DeprecationLevel .WARNING
4040)
4141@Serializable(with = InstantIso8601Serializer ::class )
@@ -191,7 +191,7 @@ public expect class Instant : Comparable<Instant> {
191191
192192
193193 public companion object {
194- @Deprecated(" Use Clock.System.now() instead" , ReplaceWith (" Clock.System.now()" , " kotlinx .time.Clock" ), level = DeprecationLevel .ERROR )
194+ @Deprecated(" Use Clock.System.now() instead" , ReplaceWith (" Clock.System.now()" , " kotlin .time.Clock" ), level = DeprecationLevel .ERROR )
195195 public fun now (): Instant
196196
197197 /* *
@@ -294,7 +294,7 @@ public expect class Instant : Comparable<Instant> {
294294 */
295295@Deprecated(" kotlinx.datetime.Instant is superseded by kotlin.time.Instant" ,
296296 level = DeprecationLevel .WARNING ,
297- replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlinx .time.isDistantPast" )
297+ replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlin .time.isDistantPast" )
298298)
299299public val Instant .isDistantPast: Boolean
300300 get() = this <= Instant .DISTANT_PAST
@@ -306,7 +306,7 @@ public val Instant.isDistantPast: Boolean
306306 */
307307@Deprecated(" kotlinx.datetime.Instant is superseded by kotlin.time.Instant" ,
308308 level = DeprecationLevel .WARNING ,
309- replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlinx .time.isDistantFuture" )
309+ replaceWith = ReplaceWith (" this.toStdlibInstant().isDistantPast" , " kotlin .time.isDistantFuture" )
310310)
311311public val Instant .isDistantFuture: Boolean
312312 get() = this >= Instant .DISTANT_FUTURE
0 commit comments