Solved

Java Time Zone Descriptions

Posted on 1997-06-30
2
671 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 51
servlet doXXX methods 3 62
Configure a Bean in an XML file 4 42
ejb entity bean example 2 10
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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 …

839 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