From 6238b5abb215b44a9edae7160a7c3feea1e54a4a Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 3 Sep 2024 20:56:07 +0200 Subject: [PATCH] Renamed europeBerlin to EuropeBerlin --- .../net/codinux/banking/fints/extensions/LocalDateExtensions.kt | 2 +- .../codinux/banking/fints/extensions/LocalDateTimeExtensions.kt | 2 +- .../net/codinux/banking/fints/extensions/TimeZoneExtensions.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt index bb881763..e4618286 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt @@ -12,7 +12,7 @@ fun LocalDate.Companion.todayAtSystemDefaultTimeZone(): LocalDate { } fun LocalDate.Companion.todayAtEuropeBerlin(): LocalDate { - return nowAt(TimeZone.europeBerlin) + return nowAt(TimeZone.EuropeBerlin) } @JsName("nowAtForDate") diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt index 2fa44078..742be4b1 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt @@ -9,7 +9,7 @@ fun LocalDateTime.Companion.nowAtUtc(): LocalDateTime { } fun LocalDateTime.Companion.nowAtEuropeBerlin(): LocalDateTime { - return nowAt(TimeZone.europeBerlin) + return nowAt(TimeZone.EuropeBerlin) } fun LocalDateTime.Companion.nowAt(timeZone: TimeZone): LocalDateTime { diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt index e468eb02..aa073d2b 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt @@ -3,5 +3,5 @@ package net.codinux.banking.fints.extensions import kotlinx.datetime.TimeZone -val TimeZone.Companion.europeBerlin: TimeZone +val TimeZone.Companion.EuropeBerlin: TimeZone get() = TimeZone.of("Europe/Berlin") \ No newline at end of file