[tz] Java & Rearguard

Stephen Colebourne scolebourne at joda.org
Thu May 30 13:04:03 UTC 2019


On Thu, 30 May 2019 at 13:04, Robert Elz <kre at munnari.oz.au> wrote:
> What are you planning to do when some part of the US (say Illinois, or
> something else on Central time) decides to set their zone backwards by
> an hour for a month in the middle of winter

I imagine the code would just move the base offset back for that period.

The key point is that both forms can express the same outcome in terms
of when the clocks actually change. The practical differences are what
the API says is the base offset and what the API says is daylight
time.

Where this debate goes wrong is emails that assert tzdb's choice to
follow the legal definition is the only possible choice. It isn't. The
other choice of exposing the smaller/larger offset is perfectly valid
too. Just different.

Stephen



More information about the tz mailing list