> >> In addition I feel that the >> ICU and Sun classes do not accurately reflect Zoneinfo structures. > > Well, ICU (and Sun/Oracle) have to gather daylight saving amount (usually > 1 hour, but some exceptions) information because Calendar API expose it. > However, zic does not preserve the daylight saving amount information in > the output files. Other than daylight saving amount information, ICU (and > Sun/Oracle JDK, if my understanding is correct) duplicate the structure > logically. ICU also adds some extra aliases for backward compatibility > support purpose. Interesting. My approach is to hydrate the Zoneinfo files into Java objects and then process rules as required. > >> >> I shall open-source this project once it gets to a working point. >> >> It'd be terribly helpful if I could get hold of some test cases, > automated >> or otherwise, that verify correct time zone calculations. Would anyone >> out there have such things? >> > > In ICU project, we use slightly modified version of zdump and compare the > output with the one generated by ICU's TimeZone implementation. You may > consider similar method for testing your implementation. That's a good idea. Thanks. Kind regards, Christopher