JDK-4256567 : Java TimeZone needs more timezones to support platform timezones
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 1999-07-23
  • Updated: 1999-08-17
  • Resolved: 1999-08-17
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.3.0 kestrelFixed
Related Reports
Relates :  
Description
Java needs more timezones to support platform timezones and deal with exceptional DST rules.

Australia/Broken_Hill (== Australia/Yancowinna)
	GMT+09:30. Follows the exceptional DST rules in 2000. Currently mapped to Australia/Adelaide which doesn't use the exception. Note that Solaris zoneinfo fixes this in Solaris 8.

Australia/Hobert (== Australia/Tasmania)
	GMT+10:00 w/o the exception. (TimeZoneData doesn't have this.)


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: kestrel FIXED IN: kestrel INTEGRATED IN: kestrel
14-06-2004

EVALUATION Yes, these are lack from TimeZoneData. By tzdata1999d. Following definition can be found. # New South Wales # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule AN 1971 1985 - Oct lastSun 2:00s 1:00 - Rule AN 1972 only - Feb 27 2:00s 0 - Rule AN 1973 1981 - Mar Sun>=1 2:00s 0 - Rule AN 1982 only - Apr Sun>=1 2:00s 0 - Rule AN 1983 1985 - Mar Sun>=1 2:00s 0 - Rule AN 1986 1989 - Mar Sun>=15 2:00s 0 - Rule AN 1986 only - Oct 19 2:00s 1:00 - Rule AN 1987 1999 - Oct lastSun 2:00s 1:00 - Rule AN 1990 1995 - Mar Sun>=1 2:00s 0 - Rule AN 1996 max - Mar lastSun 2:00s 0 - Rule AN 2000 only - Aug 26 2:00s 1:00 - Rule AN 2001 max - Oct lastSun 2:00s 1:00 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Australia/Sydney 10:04:52 - LMT 1895 Feb 10:00 - EST 1917 Jan 1 0:01 10:00 Aus EST 1971 Oct 31 2:00s 10:00 AN EST Zone Australia/Broken_Hill 9:25:48 - LMT 1895 Feb 10:00 - EST 1896 Aug 23 9:00 - CST 1899 May 9:30 - CST 1917 Jan 1 0:01 9:30 Aus CST 1971 Oct 31 2:00s 9:30 AN CST # Tasmania # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule AT 1967 only - Oct 1 2:00s 1:00 - Rule AT 1968 only - Mar 31 2:00s 0 - Rule AT 1968 1985 - Oct lastSun 2:00s 1:00 - Rule AT 1969 1971 - Mar Sun>=8 2:00s 0 - Rule AT 1972 only - Feb 27 2:00s 0 - Rule AT 1973 1981 - Mar Sun>=1 2:00s 0 - Rule AT 1982 1983 - Mar lastSun 2:00s 0 - Rule AT 1984 1986 - Mar Sun>=1 2:00s 0 - Rule AT 1986 only - Oct 19 2:00s 1:00 - Rule AT 1987 1990 - Mar Sun>=15 2:00s 0 - Rule AT 1987 1990 - Oct lastSun 2:00s 1:00 - Rule AT 1991 max - Oct Sun>=1 2:00s 1:00 - Rule AT 1991 max - Mar lastSun 2:00s 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Australia/Hobart 9:49:16 - LMT 1895 Sep 10:00 - EST 1917 Jan 1 0:01 10:00 Aus EST 1967 Oct 1 2:00s 10:00 AT EST
11-06-2004

SUGGESTED FIX *** /tmp/geta15933 Thu Jul 29 11:29:44 1999 --- TimeZone.java Thu Jul 29 08:59:50 1999 *************** *** 1800,1805 **** --- 1800,1817 ---- // Rule AS 1995 max - Mar lastSun 2:00s 0 - // Australia/Adelaide South Australia(AU) 9:30 AS CST //---------------------------------------------------------- + new SimpleTimeZone((int)(9.5*ONE_HOUR), "Australia/Broken_Hill" /*CST*/, + Calendar.AUGUST, 26, 0 /*DOM*/, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME, + Calendar.MARCH, -1, Calendar.SUNDAY /*DOW_IN_MON*/, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME, 1*ONE_HOUR), + // Rule AN 2000 only - Aug 26 2:00s 1:00 - + // Rule AN 1996 max - Mar lastSun 2:00s 0 - + // Australia/Broken_Hill 9:30 AN CST + new SimpleTimeZone(10*ONE_HOUR, "Australia/Hobart" /*EST*/, + Calendar.OCTOBER, 1, -Calendar.SUNDAY /*DOW>=DOM*/, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME, + Calendar.MARCH, -1, Calendar.SUNDAY /*DOW_IN_MON*/, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME, 1*ONE_HOUR), + // Rule AT 1991 max - Oct Sun>=1 2:00s 1:00 - + // Rule AT 1991 max - Mar lastSun 2:00s 0 - + // Australia/Hobart 10:00 AT EST new SimpleTimeZone(10*ONE_HOUR, "Antarctica/DumontDUrville" /*DDUT*/), // Antarctica/DumontDUrville France - year-round bases(AQ) 10:00 - DDUT # Dumont-d'Urville Time //---------------------------------------------------------- Added rules as evaluation. koushi.takahashi@japan 1999-07-29
29-07-1999