You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Jim Yu (JIRA)" <ji...@apache.org> on 2008/08/27 10:39:46 UTC

[jira] Updated: (HARMONY-5468) [classlib][util] java.util.Date.toString outputs real time zone name on RI, but prints GMT<+/-offset> on Harmony.

     [ https://issues.apache.org/jira/browse/HARMONY-5468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Yu updated HARMONY-5468:
----------------------------

    Attachment: HARMONY-5468.diff

> [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
>          Components: Classlib
>         Environment: All
>            Reporter: Pavel Pervov
>            Assignee: Tony Wu
>         Attachments: HARMONY-5468.diff
>
>
> 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.