Time Zone Conversion

G

GenxLogic

Hi All,
we have requirement of converting time into different time zone. but we
have a problem.
suppose i gave IST but since IST corresponds to many time zone like
IST Irish Summer Time
IST Israeli Standard Time
IST Iran Standard Time
IST Indian Standard Time
then how Java diffrentiate between time zone?
can any one help?

Thanks in advance,
Deepak Kumar
 
R

Roland de Ruiter

Hi All,
we have requirement of converting time into different time zone. but we
have a problem.
suppose i gave IST but since IST corresponds to many time zone like
IST Irish Summer Time
IST Israeli Standard Time
IST Iran Standard Time
IST Indian Standard Time
then how Java diffrentiate between time zone?
can any one help?

Thanks in advance,
Deepak Kumar
The use of three-letter time zone IDs is deprecated. See
<http://java.sun.com/j2se/1.5.0/docs/api/java/util/TimeZone.html>
However, they are (still) supported for backward compatibility with
JDK1.1. Full names should be used instead.

Which time zone value the call TimeZone.getTimeZone("IST") returns is
undetermined. [On 1.5.0_07 however, it seems to be the same as
TimeZone.getTimeZone("Asia/Calcutta"), which would make it Indian
Standard Time?]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,796
Messages
2,569,645
Members
45,367
Latest member
Monarch

Latest Threads

Top