Kurt Alfred Kluever

Results 14 issues of Kurt Alfred Kluever

The following two APIs on `Instant` aren't really overloads: * `until(Instant, DateTimeUnit.TimeBased)` * `until(Instant, DateTimeUnit, TimeZone)` One takes timezones into account and the other one doesn't. That doesn't seem like...

breaking change

`DatePeriod` is defined as: ``` class DatePeriod( override val years: Int = 0, override val months: Int = 0, override val days: Int = 0 ) : DateTimePeriod() { override...

Representing durations as `long`s can easily lead to unit mismatch problems. Representing durations as `long, TimeUnit` pairs can require plumbing 2 values through multiple layers (and can suffer from unit...

(In prep for deprecating them.)

https://github.com/JodaOrg/joda-time/blob/main/src/main/java/org/joda/time/convert/ConverterManager.java uses [`SecurityManager`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/SecurityManager.html) which is "deprecated and subject to removal in a future release. There is no replacement for the Security Manager. See [JEP 411](https://openjdk.org/jeps/411) for discussion and alternatives."

Discussion
v3

Instead of using an ambiguous (w.r.t. the unit) `long` to represent date/time concepts (like a delay or "now"), please use the appropriate `java.time` types (`Duration` or `Instant`). There's a bunch...