Time-zone database issues

Florian Weimer fweimer at redhat.com
Tue Oct 23 05:45:22 UTC 2018

* Stephen Colebourne:

> Fixing the parser to handle values like 25:00 would be relatively
> easy. However, these rules are also exposed in the public API of
> java.time.zone.ZoneOffsetTransitionRule [3]. Currently this class has
> methods `getLocalTime()` and `isMidnightEndOfDay()`. These would need
> to be deprecated and replaced by a new method `getLocalTimeDuration()`
> (or some other name) that returns an instance of `Duration`.

I think getLocalTimeDuration() would have to be paired with new methods
getDayOfMonthIndicator(), getDayOfWeek().  The values returned by these
methods will have to change between normalized and non-normalized
transition times.

The branch appears to be here:



More information about the core-libs-dev mailing list