JDK-4248924 : Western European timezones have incorrect DST info
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.2.2
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-06-23
  • Updated: 1999-06-23
  • Resolved: 1999-06-23
Related Reports
Duplicate :  
Description

Name: vi73552			Date: 06/23/99


The SimpleTimeZone instances created by java.util.TimeZone.
Most western european timezones go into DST at 1am UTC, and
return to standard time at 1am UTC.  This differs from American-style
Daylight savings which changes from 2am to 3am LOCAL time going in
to DST, then from 2am to 1am LOCAL time when returning to standard
time.

One example of the bug is Europe/Berlin:
new SimpleTimeZone(1*ONE_HOUR, "Europe/Berlin" /*CE%sT*/,
    Calendar.MARCH, -1, Calendar.SUNDAY /*DOW_IN_DOM*/, 2*ONE_HOUR,
    Calendar.OCTOBER, -1, Calendar.SUNDAY /*DOW_IN_DOM*/, 2*ONE_HOUR, 1*ONE_HOUR),

The dates are correct, but the 2*ONE_HOUR on the second line should be
3*ONE_HOUR.

I have not done enough research to say how many of the zones are
wrong -- some research needs to be done.
(Review ID: 84735) 
======================================================================

Comments
WORK AROUND Name: vi73552 Date: 06/23/99 The only workaround for this bug is to not use the built-in SimpleTimeZone's if you're application is sensitive to precise daylight savings information. ======================================================================
11-06-2004

EVALUATION This bug has been fixed in 4191164. masayoshi.okutsu@Eng 1999-06-23
23-06-1999