JDK-4402984 : A daylight time problem in merlin b46 and ladybird b13
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.3.1
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2001-01-09
  • Updated: 2001-01-11
  • Resolved: 2001-01-10
Related Reports
Relates :  
Description
hercule.li@prc 2001-01-09

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

java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)

We think the date 9/9/1999 should belong to
daylight time in Australia/Sydney . 
But the testing result is reversed.

In merlin b46, there is a funny phenomenon.  :-)
9/9/2000 belongs to daylight time, but
9/9/1999 and 9/9/2001 don't .

In ladybird b13, 9/9/2000 , 9/9/1999 and 9/9/2001
all don't belong to daylight time .

so there are different behaviors in ladybird and merlin.
It must be a bug.

To reproduce the bug, try attached file
TZ_inDaylightTime_y2k.java

------ hercule.li@prc 2001-01-09

Comments
EVALUATION The behavior in Description is because of the implementation changes in the TimeZone area. Refer to 4230123 for details. Here's the history of the Australia/Sydney time zone. Refer to the Solaris zic(1M) man page for the syntax descriptions. # 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 lastSun 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 Aus EST 1971 10:00 AN EST For Ladybird, we took the 2001 rules since it's going to be released this year. (SimpleTimeZone can take only a single set of start/end daylight time rules.) masayoshi.okutsu@Eng 2001-01-10
10-01-2001