[Datetime-SIG] Calendar vs timespan calculations...

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Aug 3 19:34:36 CEST 2015


On Mon, Aug 3, 2015 at 12:49 PM, Chris Barker <chris.barker at noaa.gov> wrote:
>
>>
>> A timezone that
>> implements 23:59:59 + 1s = 23:59:60 and 23:59:60 + 1s = 00:00:00 can
>> just as easily implement 23:59:59 + 1s = 23:59:59(repeated) and
>> 23:59:59(repeated) + 1s = 00:00:00.
>
>
> Maybe I'm getting hung up on purity over practicality -- but this sure seem
> slike logic that should not be in the timezone object -- it has nothing to
> do with time zones.

It has everything to do with timezones.  The information about
historical addition of leap seconds is and will be distributed with
the timezone databases.  This is what Olson's distribution has always
done and what IANA intends to continue.  See [1] for more details.

[1]: https://tools.ietf.org/html/draft-ietf-tzdist-service-11#section-5.6


More information about the Datetime-SIG mailing list