JDK-6387421 : (tz) Australian Timezone information incorrect
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.2_10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: generic
  • Submitted: 2006-02-17
  • Updated: 2011-02-16
  • Resolved: 2006-02-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_10Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
JRE timezone files jre/lib/zi are incorrect for Australian time zone. As per the web site
http://www.bom.gov.au/climate/averages/tables/dst_times.shtml
The timezone change should happen for NSW on April 2nd, but java starts doing it after 3/26.

This problem is not there in 1.5.0_06

Attached is a sample program that displays this behaviour

Compile it. Run it as follows

sh> TZ=Australia/NSW date
sh> TZ=Australia/NSW java timezone

Then wait for the clock to roll over to the next minute.

Then rerun

sh> TZ=Australia/NSW date
sh> TZ=Australia/NSW java timezone

In the second run, you will see isDST as false, but it should be true till 4/2

You may run the same program with 1.5.0_06 and see that the behaviour is different (and correct).

Comments
EVALUATION The 2006-only DST rule in Australia was addressed in tzdata2005m. It should be fixed under 6332148 (tzdata2005n).
20-02-2006

EVALUATION Timezone data in 1.4.2_10 is a bit old and doesn't include the Australian change. This will be fixed in the next version.
18-02-2006

WORK AROUND If you create a softlink from 1.5.0_06 jre/lib/zi directory to 1.4.2 jre/lib/zi , then everything starts to work as desired.
17-02-2006