FW: Need to use unix TZ timezone strings in java Timezone class

Olson, Arthur David (NIH/NCI) olsona at dc37a.nci.nih.gov
Mon Jul 12 13:45:21 UTC 2004


Preeti Agarwal is not on the time zone mailing list; direct replies
appropriately.

				--ado 

-----Original Message-----
From: Agarwal, Preeti (Med, GEMS-IT) [mailto:Preeti.Agarwal at med.ge.com] 
Sent: Thursday, July 08, 2004 5:14 PM
To: 'tz at elsie.nci.nih.gov'
Subject: Need to use unix TZ timezone strings in java Timezone class

Hi,

We have an application that uses the unix timezone string formats "EST5EDT",
"PST8PDT" etc. 
I need to convert these timezone strings into equivalent java timezones that
can be understood by java.util.TimeZone class. 

If I pass the above unix timezone strings, it returns the server timezone
and not the java equivalent of the unix timezone.

I would appreciate any help in resolving this.

Thanks,
Preeti




More information about the tz mailing list