Activated the LocalDate as these are the used ones
This commit is contained in:
parent
02bbdb0453
commit
bc61ea6025
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue