Solved

Java Time Zone Descriptions

Posted on 1997-06-30
2
668 Views
Last Modified: 2012-08-14
Java has 31 time zone codes (e.g., GMT, PST, JST,...).  Does anyone know the descriptions for them.  I know the obvious ones (e.g., PST=Pacific Standard Time).  But I'd like to know all of them to provide users with a way to choose the time zone description rather than the code.

Thanks,

Emilio
0
Comment
Question by:ebelmont
2 Comments
 

Accepted Solution

by:
meggenb earned 100 total points
ID: 1222519
Those are all the timezones I know so far


EET                  Eastern European Time       2
CET                  Central European Time       1
GMT                  Greenwich Mean Time             0


EST                  Eastern Standart Time       -5
CST                  Central Standart Time       -6
MST                  Mountain Standart Time      -7
PST                  Pacific Standart Time       -8

But you can look them in a atlas where they should be found without any problem.
You may have seen a D as the second letter of a timezone as in

EDT, CDT, MDT, PDT ther the D corresponds to the daylight saving time zone (that's new in Java), you will not find those abbrivations in an atlas.

Martin
0
 

Expert Comment

by:joeatNR
ID: 1222520
You can enumerate timezones with
String ids[] = TimeZone.getAvailableIDs();


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now