[tz] New IANA-timezone support date/time library
david at braverman.org
Tue Feb 23 15:07:50 UTC 2021
Jon and I attacked the problem from opposite angles. The InnerDrive.TimeZones<https://www.nuget.org/packages/InnerDrive.TimeZones/> package interprets tzdb rather than compiling it, so by definition it takes arbitrary versions of the data. Of course, Jon’s runs about 8 times faster…
From: tz <tz-bounces at iana.org> On Behalf Of Jon Skeet via tz
Sent: Tuesday 23 February 2021 02:11
To: Brian Park <brian at xparks.net>; IANA TZ Database <tz at iana.org>
Subject: Re: [tz] New IANA-timezone support date/time library
My Noda Time<https://nodatime.org> library for .NET supports this as well.
See https://nodatime.org/3.0.x/userguide/tzdb for more details, including a source code example.
Finally, java.time supports this too to some extent via ZoneRulesProvider<https://docs.oracle.com/javase/10/docs/api/java/time/zone/ZoneRulesProvider.html>, although there's a significant gap in terms of a public implementation that allows you to load data from a file or directory. (I suspect that sort of flexible implementation is present, but not public.) There may be third party implementations.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tz