classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Re: Pacific/Easter TimeZone.java


From: Mark Wielaard
Subject: [cp-patches] Re: Pacific/Easter TimeZone.java
Date: Fri, 26 Aug 2005 01:34:14 +0200

On Fri, 2005-08-26 at 00:55 +0200, Mark Wielaard wrote:
> 2005-08-25  Mark Wielaard  <address@hidden>
> 
>         * timezones.pl (parseRule): Add dayoffset when $time represents
>         more then a day.
>         * java/util/TimeZone.java (timezones): Regenerate.

Oops, attached wrong patch.
This is what I committed.
Index: java/util/TimeZone.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/TimeZone.java,v
retrieving revision 1.34
diff -u -r1.34 TimeZone.java
--- java/util/TimeZone.java     25 Aug 2005 21:12:23 -0000      1.34
+++ java/util/TimeZone.java     25 Aug 2005 22:54:27 -0000
@@ -506,7 +506,7 @@
        tz = new SimpleTimeZone
          (2000 * 3600, "ART",
           Calendar.APRIL, -1, Calendar.FRIDAY, 1000 * 3600,
-          Calendar.SEPTEMBER, 31, -Calendar.FRIDAY, 0 * 3600);
+          Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 24000 * 3600);
        timezones0.put("ART", tz);
        timezones0.put("Africa/Cairo", tz);
        tz = new SimpleTimeZone(2000 * 3600, "CAT");
Index: scripts/timezones.pl
===================================================================
RCS file: /cvsroot/classpath/classpath/scripts/timezones.pl,v
retrieving revision 1.4
diff -u -r1.4 timezones.pl
--- scripts/timezones.pl        25 Aug 2005 21:12:23 -0000      1.4
+++ scripts/timezones.pl        25 Aug 2005 22:54:27 -0000
@@ -155,7 +155,7 @@
        $time += 24*3600*1000;
        $dayoffset--;
     }
-    while ($time >= 24*3600*1000) {
+    while ($time > 24*3600*1000) {
        $time -= 24*3600*1000;
        $dayoffset++;
     }

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]