Solved

Java Time Zone Descriptions

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

746 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

8 Experts available now in Live!

Get 1:1 Help Now