Time-zone database issues

Stephen Colebourne scolebourne at joda.org
Tue Oct 23 08:40:10 UTC 2018

No, the day-of-month and day-of-week would remain the same, as the
time is relative to those dates.
I didn't provide that link for IP reasons! Please avoid clicking on
the link below!


On Tue, 23 Oct 2018 at 06:45, Florian Weimer <fweimer at redhat.com> wrote:
> * 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:
>   <https://github.com/Kiskae/threetenbp/commits/time_as_duration>
> Thanks,
> Florian

More information about the core-libs-dev mailing list