Activated the LocalDate as these are the used ones

This commit is contained in:
dankito 2023-07-06 17:34:00 +02:00
parent 02bbdb0453
commit bc61ea6025
2 changed files with 11 additions and 11 deletions

View File

@ -52,11 +52,11 @@ fun LocalDate.Companion.nowAt(timeZone: TimeZone): LocalDate {
} }
//val LocalDate.millisSinceEpochAtUtc: Long val LocalDate.millisSinceEpochAtUtc: Long
// get() = this.toEpochMillisecondsAt(TimeZone.UTC) get() = this.toEpochMillisecondsAt(TimeZone.UTC)
//
//val LocalDate.millisSinceEpochAtSystemDefaultTimeZone: Long val LocalDate.millisSinceEpochAtSystemDefaultTimeZone: Long
// get() = this.toEpochMillisecondsAt(TimeZone.currentSystemDefault()) get() = this.toEpochMillisecondsAt(TimeZone.currentSystemDefault())
val LocalDate.millisSinceEpochAtEuropeBerlin: Long val LocalDate.millisSinceEpochAtEuropeBerlin: Long
get() = this.toEpochMillisecondsAt(TimeZone.europeBerlin) get() = this.toEpochMillisecondsAt(TimeZone.europeBerlin)

View File

@ -48,12 +48,12 @@ fun LocalDateTime.Companion.nowAt(timeZone: TimeZone): LocalDateTime {
} }
val LocalDateTime.millisSinceEpochAtUtc: Long //val LocalDateTime.millisSinceEpochAtUtc: Long
get() = this.toEpochMillisecondsAt(TimeZone.UTC) // get() = this.toEpochMillisecondsAt(TimeZone.UTC)
//
val LocalDateTime.millisSinceEpochAtSystemDefaultTimeZone: Long //val LocalDateTime.millisSinceEpochAtSystemDefaultTimeZone: Long
get() = this.toEpochMillisecondsAt(TimeZone.currentSystemDefault()) // get() = this.toEpochMillisecondsAt(TimeZone.currentSystemDefault())
//
//val LocalDateTime.millisSinceEpochAtEuropeBerlin: Long //val LocalDateTime.millisSinceEpochAtEuropeBerlin: Long
// get() = this.toEpochMillisecondsAt(TimeZone.europeBerlin) // get() = this.toEpochMillisecondsAt(TimeZone.europeBerlin)