JDK-4375129 : TimeZone.getDisplayName() does not always return a description of the Timezone
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: other
  • CPU: other
  • Submitted: 2000-09-29
  • Updated: 2000-10-02
  • Resolved: 2000-10-02
Related Reports
Duplicate :  
Description
TimeZone.getDisplayName() does not always return a description of
the timezone abbreviation but instead somtimes returns GMT+/-#
   
The 3 letter abbrevaiton was always explained.
 For example:
   	In Java: AST is Alaksa Standard Time
   	Other places: AST is Altantic Standard Time
   	
    Not having this description has caused some problems.
    It is missing for: ACT, AET, AGT, ART, BET, BST, CAT, EAT, EET, IST, MET,
                       MIT, NET, NST, PLT, PRT, SST, UTC, VST

The output we can make:
ACT  GMT+9.5   
AET  GMT+10    
AGT  GMT-3     
ART  GMT+2     
AST  GMT-9     Alaska Standard Time     
BET  GMT-3     
BST  GMT+6     
CAT  GMT+2     
CNT  GMT-3.5   Newfoundland Standard Time
CST  GMT-6     Central Standard Time    
CTT  GMT+8     China Standard Time      
EAT  GMT+3     
ECT  GMT+1     Central European Standard Time
EET  GMT+2     
EST  GMT-5     Eastern Standard Time    
GMT  GMT+0     Greenwich Mean Time      
HST  GMT-10    Hawaii Standard Time     
IET  GMT-5     Eastern Standard Time    
IST  GMT+5.5   
JST  GMT+9     Japan Standard Time      
MET  GMT+3.5   
MIT  GMT-11    
MST  GMT-7     Mountain Standard Time   
NET  GMT+4     
NST  GMT+12    
PLT  GMT+5     
PNT  GMT-7     Mountain Standard Time   
PRT  GMT-4     
PST  GMT-8     Pacific Standard Time    
SST  GMT+11    
UTC  GMT+0     
VST  GMT+7  

> java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)

This is being run on a Serengeti System Controller.

Comments
EVALUATION TimeZone uses SimpleDateFormat which doesn't have a full set of long time zone names. Closing this as a duplicate of 4112924. masayoshi.okutsu@Eng 2000-10-02
02-10-2000