File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ internal actual fun timeZoneById(zoneId: String): TimeZone =
16
16
.getOrElse { timeZoneByIdFoundation(zoneId) }
17
17
18
18
internal fun timeZoneByIdFoundation (zoneId : String ): TimeZone =
19
- RegionTimeZone (TimeZoneRulesFoundation (), zoneId)
19
+ RegionTimeZone (TimeZoneRulesFoundation (zoneId ), zoneId)
20
20
21
21
internal actual fun getAvailableZoneIds (): Set <String > =
22
22
runCatching { tzdb.getOrThrow().availableTimeZoneIds() }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import kotlinx.datetime.Instant
9
9
import kotlinx.datetime.LocalDateTime
10
10
import kotlinx.datetime.UtcOffset
11
11
12
- internal class TimeZoneRulesFoundation : TimeZoneRules {
12
+ internal class TimeZoneRulesFoundation ( private val zoneId : String ) : TimeZoneRules {
13
13
override fun infoAtInstant (instant : Instant ): UtcOffset {
14
14
TODO (" Not yet implemented" )
15
15
}
You can’t perform that action at this time.
0 commit comments