Sami Eljabali
03/19/2026, 10:16 AMhfhbd
03/19/2026, 10:46 AMSami Eljabali
03/19/2026, 10:53 AMhfhbd
03/19/2026, 10:54 AMhfhbd
03/19/2026, 10:56 AMCLOVIS
03/19/2026, 10:56 AMCLOVIS
03/19/2026, 10:57 AMLocalTime.plusHours() & co are dangerousCLOVIS
03/19/2026, 10:58 AMSami Eljabali
03/19/2026, 10:59 AMSami Eljabali
03/19/2026, 11:00 AMCLOVIS
03/19/2026, 11:00 AMSami Eljabali
03/19/2026, 11:00 AMSami Eljabali
03/19/2026, 11:01 AMSami Eljabali
03/19/2026, 11:01 AMCLOVIS
03/19/2026, 11:01 AMSami Eljabali
03/19/2026, 11:01 AMCLOVIS
03/19/2026, 11:01 AMSami Eljabali
03/19/2026, 11:02 AMSami Eljabali
03/19/2026, 11:03 AMSami Eljabali
03/19/2026, 11:03 AMSami Eljabali
03/19/2026, 11:03 AMCLOVIS
03/19/2026, 11:03 AMCLOVIS
03/19/2026, 11:04 AMSami Eljabali
03/19/2026, 11:04 AMSami Eljabali
03/19/2026, 11:04 AMSami Eljabali
03/19/2026, 11:07 AMSami Eljabali
03/19/2026, 11:08 AMSami Eljabali
03/19/2026, 11:08 AMfun LocalDateTime.minusYears(years: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
LocalDateTime(this.toLocalDate().plusYears(-years), this.toLocalTime())
fun LocalDateTime.plusYears(years: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
LocalDateTime(this.toLocalDate().plusYears(years), this.toLocalTime())
fun LocalDateTime.minusMonths(months: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
LocalDateTime(this.toLocalDate().plusMonths(-months), this.toLocalTime())
fun LocalDateTime.plusMonths(months: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
LocalDateTime(this.toLocalDate().plusMonths(months), this.toLocalTime())
fun LocalDateTime.minusDays(days: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
LocalDateTime(this.toLocalDate().plusDays(-days), this.toLocalTime())
fun LocalDateTime.plusDays(days: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
LocalDateTime(this.toLocalDate().plusDays(days), this.toLocalTime())Sami Eljabali
03/19/2026, 11:08 AMSami Eljabali
03/19/2026, 11:09 AMSami Eljabali
03/19/2026, 11:09 AMfun LocalDateTime.plusHours(hours: Int, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime =
this.toInstant(timeZone)
.plus(hours.hours)
.toLocalDateTime(timeZone)hfhbd
03/19/2026, 11:13 AMSami Eljabali
03/19/2026, 11:14 AMSami Eljabali
03/19/2026, 11:16 AMstreetsofboston
03/19/2026, 11:22 AMStefan Oltmann
03/19/2026, 4:32 PMSami Eljabali
04/06/2026, 2:51 PM