[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Pacific/Easter TimeZone.java
From: |
Bastiaan Huisman |
Subject: |
Pacific/Easter TimeZone.java |
Date: |
Wed, 10 Aug 2005 13:58:07 -0000 |
Hi all,
The Pacific/Easter TimeZone has been defined incorrectly in
java.util.TimeZone. It should go into and out of DST at the same UTC as
Chile (America/Santiago), not at the same wall-time as Chile.
tz = new SimpleTimeZone
(-6000 * 3600, "Pacific/Easter",
Calendar.OCTOBER, 9, -Calendar.SUNDAY, 0 * 3600,
Calendar.MARCH, 9, -Calendar.SUNDAY, 0 * 3600);
timezones0.put("Pacific/Easter", tz);
Should become:
tz = new SimpleTimeZone
(-6000 * 3600, "Pacific/Easter",
Calendar.OCTOBER, 8, -Calendar.SATURDAY, 22000 * 3600,
Calendar.MARCH, 8, -Calendar.SATURDAY, 22000 * 3600);
timezones0.put("Pacific/Easter", tz);
I defined this tz in wall-time, maybe it would be better to do it with
respect to UTC?
Sun's JDK 1.5 has the same behavior as my "patch". I have not checked
other Timezones for the same mistake.
I have no prior experience with this mailing list, so I hope I have
reported this the right way.
Kind regards,
Bastiaan Huisman
- Pacific/Easter TimeZone.java,
Bastiaan Huisman <=
- Re: Pacific/Easter TimeZone.java, Tom Tromey, 2005/08/11
- Re: Pacific/Easter TimeZone.java, Bastiaan Huisman, 2005/08/11
- Re: Pacific/Easter TimeZone.java, Tom Tromey, 2005/08/11
- Re: Pacific/Easter TimeZone.java, Bastiaan Huisman, 2005/08/12
- Re: Pacific/Easter TimeZone.java, Bastiaan Huisman, 2005/08/12
- Re: Pacific/Easter TimeZone.java, Mark Wielaard, 2005/08/25
- Re: Pacific/Easter TimeZone.java, Bastiaan Huisman, 2005/08/25
- Re: Pacific/Easter TimeZone.java, Mark Wielaard, 2005/08/25
- Re: Pacific/Easter TimeZone.java, Mark Wielaard, 2005/08/25