File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ tasks {
324324
325325val downloadWindowsZonesMapping by tasks.registering {
326326 description = " Updates the mapping between Windows-specific and usual names for timezones"
327- val output = " $projectDir /windows/src/WindowsZoneNames.kt"
327+ val output = " $projectDir /windows/src/internal/ WindowsZoneNames.kt"
328328 outputs.file(output)
329329 doLast {
330330 val initialFileContents = try { File (output).readBytes() } catch (e: Throwable ) { ByteArray (0 ) }
@@ -358,7 +358,7 @@ val downloadWindowsZonesMapping by tasks.registering {
358358 val bos = ByteArrayOutputStream ()
359359 PrintWriter (bos).use { out ->
360360 out .println (""" // generated with gradle task `$name `""" )
361- out .println (""" package kotlinx.datetime""" )
361+ out .println (""" package kotlinx.datetime.internal """ )
362362 out .println (""" internal val standardToWindows: Map<String, String> = mutableMapOf(""" )
363363 for ((usualName, windowsName) in sortedMapping) {
364364 out .println (" \" $usualName \" to \" $windowsName \" ," )
Original file line number Diff line number Diff line change 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@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi ::class )
6- package kotlinx.datetime
6+ package kotlinx.datetime.internal
77
8+ import kotlinx.datetime.*
89import kotlinx.cinterop.*
910import kotlinx.datetime.internal.*
1011import platform.windows.*
Original file line number Diff line number Diff line change 11// generated with gradle task `downloadWindowsZonesMapping`
2- package kotlinx.datetime
2+ package kotlinx.datetime.internal
33internal val standardToWindows: Map <String , String > = mutableMapOf (
44 " Africa/Abidjan" to " Greenwich Standard Time" ,
55 " Africa/Accra" to " Greenwich Standard Time" ,
You can’t perform that action at this time.
0 commit comments