Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/stdlib/src/kotlin/time/Clock.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ package kotlin.time
* This way, tests can be written deterministically by providing custom [Clock] implementations
* to the system under test.
*/
@SinceKotlin("2.1")
@SinceKotlin("2.1.20")
@ExperimentalTime
public interface Clock {
/**
Expand Down
6 changes: 3 additions & 3 deletions libraries/stdlib/src/kotlin/time/Instant.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ import kotlin.time.Duration.Companion.seconds
* instant.toString() // 2023-01-02T21:35:01Z
* ```
*/
@SinceKotlin("2.1")
@SinceKotlin("2.1.20")
@ExperimentalTime
public class Instant internal constructor(
/**
Expand Down Expand Up @@ -426,7 +426,7 @@ public class Instant internal constructor(
*
* @sample samples.time.Instants.isDistantPast
*/
@SinceKotlin("2.1")
@SinceKotlin("2.1.20")
@ExperimentalTime
@kotlin.internal.InlineOnly
public inline val Instant.isDistantPast: Boolean
Expand All @@ -437,7 +437,7 @@ public inline val Instant.isDistantPast: Boolean
*
* @sample samples.time.Instants.isDistantFuture
*/
@SinceKotlin("2.1")
@SinceKotlin("2.1.20")
@ExperimentalTime
@kotlin.internal.InlineOnly
public inline val Instant.isDistantFuture: Boolean
Expand Down