[threeten-dev] 64bit tzdata?
Xueming Shen
xueming.shen at oracle.com
Tue Dec 18 12:59:20 PST 2012
On 12/18/2012 12:21 PM, yoshito_umaoka at us.ibm.com wrote:
> Xueming,
>
> Thank you for checking this. Yes, the code you quoted obviously supports 64bit epoch seconds.
> I'm still trying to understand the entire picture...
>
> JSR-310 TzdbZoneRulesProvider is capable to handle rules described by date falling out of 32bit epoch seconds.
> Is the provider implementation also consumed by the traditional JDK TimeZone/Calendar classes?
>
> In other words, does java.util.TimeZone class no longer use the proprietary tzdata only supporting 32bit seconds transitions on Java 8?
The plan is to migrate the java.util.TimeZone to use the threeten tzdb date, probably
after the M6. We do have a prototype implementation based on early threeten code,
it worked fine back then. My concern right now is the possible performance regression if
j.u.TimeZone is to be built on top of the ZoneRules (the prototype impl I have now). We
probably need to make the final decision based on that. So it's not final.
-Sherman
>
> I'm worrying about the situation that JSR-310 APIs use the unrestricted rule data while traditional JDK classes still use the proprietary 32bit data. I hope this is not the case.
>
> -Yoshito
>
More information about the threeten-dev
mailing list