[threeten-dev] TzdbZonRulesProvider and providerBind

Xueming Shen xueming.shen at oracle.com
Mon Jan 28 17:39:32 PST 2013


On 1/28/13 4:04 PM, Stephen Colebourne wrote:
> It would make sense for the JDK implementation to not have Version. 
> The JDK will only supply one version of the data, so it would be 
> faster/smaller to not have a class and hash lookup for the version. I 
> suggest the file format stays the same, and the loading code simply 
> loads the latest version.
Yes, if take a look at the code I'm preparing for the j.u.Timezone. I'am
only catching the last version. Since now the ZoneRuleProvider now
provide the mechanism of replacing the "default provider". I would assume
it would be also OK for you that I update the tzdb compiler, which is mainly
for tzdb.jar for JDK,  that also only works for on the single version? Any
multi-version support will be via a customized ZoneRulesProvider.

-Sherman


More information about the threeten-dev mailing list