harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5468) [classlib][util] java.util.Date.toString outputs real time zone name on RI, but prints GMT<+/-offset> on Harmony.
Date Wed, 06 Feb 2008 14:49:08 GMT
[classlib][util] java.util.Date.toString outputs real time zone name on RI, but prints GMT<+/-offset>
on Harmony.
-----------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-5468
                 URL: https://issues.apache.org/jira/browse/HARMONY-5468
             Project: Harmony
          Issue Type: Bug
         Environment: All
            Reporter: Pavel Pervov


The fllowing test demonstrates the behaviour:
--------------------------
import java.util.TimeZone;
import java.util.Date;

class DateToString {
    public static void main(String[] args) {
        TimeZone tz = TimeZone.getDefault();
        tz.setDefault(tz.getTimeZone("MST"));
        System.out.println(new Date(104, 2, 13));
    }
}
--------------------------
It looks like the problem may be in ICU's SimpleTimeZone pattern processing code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message