?
Solved

Java Time Zone Descriptions

Posted on 1997-06-30
2
Medium Priority
?
676 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
meggenb earned 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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 …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

770 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