December 16, 2006

more timezone: timezones by country

been way too busy to blog about anything lately but this might be useful to somebody, somewhere. the super cool icu4j lib has had a method to retrieve timezones by country for a couple of versions now. it's something i wish core java had, but here's the next best thing--a csv file of icu4j's timezone data along w/country. the data consists of "full" country name (Thailand), 2-letter ISO-3166 country code (TH) and timezone ID. while the timezone ID are from icu4j, these should be ok for use w/core java. frankly, i've only had time to test a few countries worth of data, so if you find any that don't work, let me know and i'll see about fixing it.

3 Comments:

At 4/21/2007 1:06 AM, Blogger Cam said...

Where's the best place to look for people who can answer questions about the usage of timezone.cfc?

I've just downloaded the icu4jTZ version 3.6, and am having trouble getting the test page to run. I'm doing it using the method without the classpath, but I'm getting an a class not found error on the com.ibm.icu.impl.OlsonTimeZone call in the last line of the Init method of the .cfc.

 
At 4/21/2007 10:01 AM, Blogger Paul Hastings said...

not exactly sure what you mean. the icu4j version doesn't use the remote classpath method. do you want it to? if so, hang on & i'll see if i can get one up today.

 
At 4/21/2007 10:46 AM, Blogger Paul Hastings said...

get & install mark's javaLoader CFC, http://javaloader.riaforge.org/ get the newest timezoneCFC from http://www.sustainablegis.com/projects/tz/testTZCFC.cfm read the radme file.

 

Post a Comment

<< Home