classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] SimpleDateFormat patch on behalf of Ito Kazumitsu


From: Ito Kazumitsu
Subject: Re: [cp-patches] SimpleDateFormat patch on behalf of Ito Kazumitsu
Date: 28 Jan 2005 16:35:29 -0000
User-agent: SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.3.50 (i386-unknown-freebsd5.3) MULE/5.0 (SAKAKI)

In message "[cp-patches] SimpleDateFormat patch on behalf of Ito Kazumitsu"
    on 05/01/25, "Andrew John Hughes" <address@hidden> writes:

> I'm committing the attached patch to Classpath CVS head on behalf
> of Ito Kazumitsu.

Thank you, but as reported in

  http://www.kaffe.org/pipermail/kaffe/2005-January/101326.html

this patch is not complete.

Here is another patch:

Changelog:

2005-01-2  Ito Kazumitsu  <address@hidden>

        * java/text/SimpleDateFormat.java:
        (parse): Set the DST offset to 0 when parsing GMT offset timezones.

--- java/text/SimpleDateFormat.java.orig        Fri Jan 28 23:23:16 2005
+++ java/text/SimpleDateFormat.java     Sat Jan 29 00:22:19 2005
@@ -850,6 +850,7 @@
                  {
                    found_zone = true;
                    saw_timezone = true;
+                   calendar.set (Calendar.DST_OFFSET, 0);
                    offset = simpleOffset.intValue();
                  }
                else




reply via email to

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