We're updating the issue view to help you get more done. 

RFE: use MessageFormat for GMT format

Description

Idea from Alan Liu in email from 2003-jul-21


If we do try to implement a more localizable generic GMT format, rather than
create a new formatter, we could leverage our existing formatters by using a
MessageFormat with two NumberFormat subformats, e.g.:

"GMT{0,number,0;-0}:{1,number,00}" for GMT[-]h:mm
"GMT{0,number,00;-00}{1,number,00}" for GMT[-]hhmm
"UTC{0,number,0;-0} for UTC[-]h

Any missing subformat (as in the last example) are parsed as zero. The two
subformats are for hours {0} and minutes {1}.

Environment

Status

Assignee

Douglas Felt

Reporter

TracBot

Labels

Time Needed

Days

tracCreated

Jul 18, 2005, 10:20 PM

tracOwner

doug

tracProject

ICU4C,ICU4J and ICU4JNI

tracReporter

markus.scherer@63ab4e4d4e2312f9

tracStatus

accepted

tracWeeks

1

Components

Priority

trivial