[threeten-dev] Localized GMT offset
Stephen Colebourne
scolebourne at joda.org
Fri Mar 22 15:09:39 PDT 2013
My interpretation of CLDR is that there is a single "localized offset"
format. So I would expect that the new method on the formatter builder
would be appendLocalizedOffset() where the format is derived entirely
from localization data (gmtOffset, gmtZeroOffset and hourFormat).
http://www.unicode.org/reports/tr35/tr35-dates.html#Primary_Zones
http://www.unicode.org/cldr/charts/by_type/patterns.timezones.html#c394dccbd6c2e2d
The GMT/UTC/UT prefixes are ZoneId forms, not directly related to
offset printing and not really relevant here
Stephen
On 22 March 2013 20:22, Xueming Shen <xueming.shen at oracle.com> wrote:
> Hi,
>
> I have not tried the "localized" resource for GMT yet (Masayoshi suggested
> there are such l10n resources in JDK, but few in CLDR data...), just wonder
> if this is the approach we want to go with to be"CLDR compatible" for zone
> pattern letters Z[4, 5] and O[1, 4]
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/fmtOffsetPrefixed/
>
> -Sherman
More information about the threeten-dev
mailing list