|
Quick Lists
|
|
Bug ID:
|
4506134
|
|
Votes
|
0
|
|
Synopsis
|
DST date incorrect for several Australian states in 2001
|
|
Category
|
java:classes_util_i18n
|
|
Reported Against
|
1.2.2
|
|
Release Fixed
|
1.2.2_011
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4512717
,
4915941
|
|
Submit Date
|
24-SEP-2001
|
|
Description
|
Platform: Solaris
Operating System Level/Version: 5.7
Specific Sun Release Information: Solaris_1.2.2_09
In the year 2000, several of the Australian states changed their DST rules because of the Olympics. Clocks were moved forward in late August, rather than late October. Although this was only a one off change it appears to have been incorporated in Sun's 1.2.2 Solaris JDK as a permanent rule.
This problem is fixed in the 1.3.1 JDK, which uses the latest official DST rules.
Testcase:
public class TZtest
{
public static void main(String[] args)
{
System.out.println(new java.util.Date());
}
}
Recreation:
javac -g TZtest.java
export TZ="GB"
java TZTest ; date
export TZ="Australia/NSW"
java TZTest ; date
======================================================================
|
|
Work Around
|
Set the TZ value to a non-affected timezone, such as "Australia/Queensland". But this only works for the current time up to October. After that the customers would have to switch back to the old timezone.
======================================================================
|
|
Evaluation
|
Modified the DST rules for Australia in TimeZoneData class.
xxxxx@xxxxx 2003-09-09
We are using the attached file to resolve bug 4915941.
This update will make our TimeZoneData current to jdk 1.3.1
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |