Renamed europeBerlin to EuropeBerlin
This commit is contained in:
parent
1f8c1d303e
commit
6238b5abb2
|
@ -12,7 +12,7 @@ fun LocalDate.Companion.todayAtSystemDefaultTimeZone(): LocalDate {
|
|||
}
|
||||
|
||||
fun LocalDate.Companion.todayAtEuropeBerlin(): LocalDate {
|
||||
return nowAt(TimeZone.europeBerlin)
|
||||
return nowAt(TimeZone.EuropeBerlin)
|
||||
}
|
||||
|
||||
@JsName("nowAtForDate")
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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")
|
Loading…
Reference in New Issue