Hi Cath,

In the ICU api doc, SimpleDateFormat, it says "For time zones that have no
names, use strings GMT+hours:minutes or GMT-hours:minutes. ". You can find
details here <http://icu-project.org/apiref/icu4j/>.

On Sun, Jul 12, 2009 at 3:17 AM, Catherine Hope (JIRA) <j...@apache.org>wrote:

> [classlib][luni] Default GMT TimeZone has no display name defined
> -----------------------------------------------------------------
>
>                 Key: HARMONY-6269
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6269
>             Project: Harmony
>          Issue Type: Bug
>         Environment: all
>            Reporter: Catherine Hope
>            Priority: Minor
>
>
> The default TimeZone, GMT, has no display names defined - calling
> getDisplayName() always returns "GMT+00:00" instead of "Greenwich Mean Time"
> or the short form "GMT".  This also has implications for date formatting -
> creating a SimpleDateFormat with pattern "z", will display the time zone as
> "GMT+00:00" instead of "GMT".  The harmony implementation of
> TimeZone.getDisplayName() is deferring to com.ibm.icu.util.TimeZone for the
> value, which has some long display names set , but not GMT, so I'm unsure
> where to fix this.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Yours sincerely,
Charles Lee

Reply via email to