Renamed europeBerlin to EuropeBerlin

This commit is contained in:
dankito 2024-09-03 20:56:07 +02:00
parent 1f8c1d303e
commit 6238b5abb2
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ fun LocalDate.Companion.todayAtSystemDefaultTimeZone(): LocalDate {
} }
fun LocalDate.Companion.todayAtEuropeBerlin(): LocalDate { fun LocalDate.Companion.todayAtEuropeBerlin(): LocalDate {
return nowAt(TimeZone.europeBerlin) return nowAt(TimeZone.EuropeBerlin)
} }
@JsName("nowAtForDate") @JsName("nowAtForDate")

View File

@ -9,7 +9,7 @@ fun LocalDateTime.Companion.nowAtUtc(): LocalDateTime {
} }
fun LocalDateTime.Companion.nowAtEuropeBerlin(): LocalDateTime { fun LocalDateTime.Companion.nowAtEuropeBerlin(): LocalDateTime {
return nowAt(TimeZone.europeBerlin) return nowAt(TimeZone.EuropeBerlin)
} }
fun LocalDateTime.Companion.nowAt(timeZone: TimeZone): LocalDateTime { fun LocalDateTime.Companion.nowAt(timeZone: TimeZone): LocalDateTime {

View File

@ -3,5 +3,5 @@ package net.codinux.banking.fints.extensions
import kotlinx.datetime.TimeZone import kotlinx.datetime.TimeZone
val TimeZone.Companion.europeBerlin: TimeZone val TimeZone.Companion.EuropeBerlin: TimeZone
get() = TimeZone.of("Europe/Berlin") get() = TimeZone.of("Europe/Berlin")