FW: Help regarding the timezone update data
I'm forwarding this message from Salil G K who, since sending it, has been added to the time zone mailing list. --ado From: Salil G K (sagk) [mailto:sagk@cisco.com] Sent: Tuesday, November 06, 2007 4:22 To: Olson, Arthur David (NIH/NCI) [E] Subject: Help regarding the timezone update data Importance: High Hello I am trying to get information about the timezone updation data for updating the zone information of jre environment. I have seen from http://www.twinsun.com/tz/tz-link.htm the procedure for getting the data from the 'ftp://elsie.nci.nih.gov/pub/ and how to get the timezone data files. I followed the procedures there, but I guess I am not getting a correct information in my system. I tested by writing a simple java program which will just print Date from the system. My system in in India time zone (Asia/Calcutta ) but I have TZ variable to America/Caracas ( which I think is for Venezuela ) and print the time with the fix and without the fix. I have set the system time as Jan 30 2008 ( b'se I guess Venezuela DST will start from Jan 1st ). Both tests I am getting the same time zone info. I am not sure if the procedures I am doing is correct to apply the fix. So do you have any document which describes about the implementation of this fix and how to test it. If you could consider this as a very urgent request it would be really great. thanks Salil
From: Salil G K (sagk) [mailto:sagk@cisco.com] Sent: Tuesday, November 06, 2007 4:22
I tested by writing a simple java program which will just print Date from the system.
Java has its own time zone database. Perhaps your test is consulting Java's database rather than the tz database. That would explain why changing the tz database doesn't affect your program's behavior.
Paul Eggert <eggert <at> CS.UCLA.EDU> writes:
From: Salil G K (sagk) [mailto:sagk <at> cisco.com] Sent: Tuesday, November 06, 2007 4:22
I tested by writing a simple java program which will just print Date from
the system.
Java has its own time zone database. Perhaps your test is consulting Java's database rather than the tz database. That would explain why changing the tz database doesn't affect your program's behavior.
Hi Sali, perhaps you should check out this for java applications: http://joda-time.sourceforge.net/ (Java date and time API which uses tzdata) best regards - dirk -
On Nov 30, 2007 1:10 AM, Dirk Losch <dirk.losch@gmx.de> wrote:
perhaps you should check out this for java applications:
http://joda-time.sourceforge.net/ (Java date and time API which uses tzdata)
And there is also ICU with a more JDK-like API: http://icu-project.org/ which can be updated with new time zone data between ICU releases: http://www.icu-project.org/download/icutzu.html markus
If the test does rely on the Java runtime, here is information on how to update the Java runtime with the latest time zone information: http://java.sun.com/javase/timezones/index.html Norbert On Nov 29, 2007, at 14:01 , Paul Eggert wrote:
From: Salil G K (sagk) [mailto:sagk@cisco.com] Sent: Tuesday, November 06, 2007 4:22
I tested by writing a simple java program which will just print Date from the system.
Java has its own time zone database. Perhaps your test is consulting Java's database rather than the tz database. That would explain why changing the tz database doesn't affect your program's behavior.
------------------------------------- Norbert Lindenberg Yahoo! Internationalization Architect
participants (5)
-
Dirk Losch
-
Markus Scherer
-
Norbert Lindenberg
-
Olson, Arthur David (NIH/NCI) [E]
-
Paul Eggert