File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2019-2025 JetBrains s.r.o. and contributors.
3+ * Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
4+ */
5+
6+ package kotlinx.datetime
7+
8+ @Deprecated(
9+ " This type is deprecated in favor of `kotlin.time.Clock`." ,
10+ level = DeprecationLevel .WARNING ,
11+ replaceWith = ReplaceWith (" kotlin.time.Clock" , " kotlin.time.Clock" ))
12+ public typealias Clock = kotlin.time.Clock
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2019-2025 JetBrains s.r.o. and contributors.
3+ * Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
4+ */
5+
6+ package kotlinx.datetime
7+
8+ @Deprecated(
9+ " This type is deprecated in favor of `kotlin.time.Instant`." ,
10+ level = DeprecationLevel .WARNING ,
11+ replaceWith = ReplaceWith (" kotlin.time.Instant" , " kotlin.time.Instant" ))
12+ public typealias Instant = kotlin.time.Instant
You can’t perform that action at this time.
0 commit comments