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 {
324
324
325
325
val downloadWindowsZonesMapping by tasks.registering {
326
326
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"
328
328
outputs.file(output)
329
329
doLast {
330
330
val initialFileContents = try { File (output).readBytes() } catch (e: Throwable ) { ByteArray (0 ) }
@@ -358,7 +358,7 @@ val downloadWindowsZonesMapping by tasks.registering {
358
358
val bos = ByteArrayOutputStream ()
359
359
PrintWriter (bos).use { out ->
360
360
out .println (""" // generated with gradle task `$name `""" )
361
- out .println (""" package kotlinx.datetime""" )
361
+ out .println (""" package kotlinx.datetime.internal """ )
362
362
out .println (""" internal val standardToWindows: Map<String, String> = mutableMapOf(""" )
363
363
for ((usualName, windowsName) in sortedMapping) {
364
364
out .println (" \" $usualName \" to \" $windowsName \" ," )
Original file line number Diff line number Diff line change 3
3
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
4
4
*/
5
5
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi ::class )
6
- package kotlinx.datetime
6
+ package kotlinx.datetime.internal
7
7
8
+ import kotlinx.datetime.*
8
9
import kotlinx.cinterop.*
9
10
import kotlinx.datetime.internal.*
10
11
import platform.windows.*
Original file line number Diff line number Diff line change 1
1
// generated with gradle task `downloadWindowsZonesMapping`
2
- package kotlinx.datetime
2
+ package kotlinx.datetime.internal
3
3
internal val standardToWindows: Map <String , String > = mutableMapOf (
4
4
" Africa/Abidjan" to " Greenwich Standard Time" ,
5
5
" Africa/Accra" to " Greenwich Standard Time" ,
You can’t perform that action at this time.
0 commit comments