FW: Test cases for zoneinfo data

Olson, Arthur David (NIH/NCI) [E] olsona at dc37a.nci.nih.gov
Thu Dec 16 23:40:37 UTC 2010


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 at internode.on.net] 
Sent: Thursday, December 16, 2010 6:36
To: yoshito_umaoka at us.ibm.com
Cc: tz at lecserver.nci.nih.gov; 'tz at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zoneinfo TZ.png
Type: image/png
Size: 43638 bytes
Desc: Zoneinfo TZ.png
Url : http://mm.icann.org/pipermail/tz/attachments/20101216/72dde2a1/ZoneinfoTZ-0001.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001..txt
Url: http://mm.icann.org/pipermail/tz/attachments/20101216/72dde2a1/ATT00001.-0001.txt 


More information about the tz mailing list