
I'm forwarding this message from Christopher Hunt, who is not on the time zone mailing list. Those of you who are on the list, please direct replies appropriately. --ado -----Original Message----- From: Christopher Hunt [mailto:huntc@internode.on.net] Sent: Thursday, December 16, 2010 6:36 To: yoshito_umaoka@us.ibm.com Cc: tz@lecserver.nci.nih.gov; 'tz@elsie.nci.nih.gov' Subject: Re: Test cases for zoneinfo data Firstly, thanks for the responses. My responses are inline below.
I'm creating a set of Java classes that closely reflect the structure of the Zoneinfo database. My requirement is driven mostly by wanting to dynamically update Java TimeZone classes i.e. as opposed to compiling a zoneinfo data and re-starting my application.
You probably want to look into JSR-310. TZDBZoneRulesCompiler in JSR-310 creates ZoneRules from the tz database source files. Ah - I certainly didn't know about this so thanks for the "heads-up". At first glance though, I don't see that Zoneinfo's structures are being faithfully reproduced here. I suppose another motivation for me was to stick to the Zoneinfo structure given that it is highly evolved and flexible. Please see the attached class diagram of what I'm working to and do feel free to voice your opinion. ZoneinfoTimeZone is a JDK compatible TimeZone facade whereas the rest are intended to represent Zoneinfo structures in an object oriented manner.
participants (1)
-
Olson, Arthur David (NIH/NCI) [E]