Solved

Java Time Zone Descriptions

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
null output 3 43
Which non-HTML GUI front end to use with Java? 3 52
Html split(text) 2 32
Java array sort 10 35
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

730 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