Skip to content

Commit ca4de36

Browse files
committed
Rename TimeZone.kt to avoid class file conflict in JVM
1 parent b484deb commit ca4de36

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

core/commonMain/src/TimeZone.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
44
*/
55

6+
@file:kotlin.jvm.JvmMultifileClass
7+
@file:kotlin.jvm.JvmName("TimeZoneKt")
8+
69
package kotlinx.datetime
710

811
public expect open class TimeZone {

core/jvmMain/src/TimeZone.kt renamed to core/jvmMain/src/TimeZoneJvm.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
44
*/
55

6+
@file:JvmMultifileClass
7+
@file:JvmName("TimeZoneKt")
8+
69
package kotlinx.datetime
710

811
import java.time.DateTimeException

0 commit comments

Comments
 (0)