JDK-6228604 : (tz) Date.toString doesn't produce the daylight saving time abbreviation with Asia/Shanghai
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-02-12
  • Updated: 2010-07-29
  • Resolved: 2005-09-12
Related Reports
Duplicate :  
Description
Date.toString() doesn't produce the daylight saving time abbreviation with time zone Asia/Shanghai, like.

Sun Apr 15 01:00:00 CST 1990

CST should be CDT.
###@###.### 2005-2-12 01:57:32 GMT

Comments
EVALUATION TimeZone.getDisplayName() takes the useDaylightTime() into account. It should not. useDaylightTime() reflects only the latest DST rules. ###@###.### 2005-2-14 09:34:44 GMT
14-02-2005