[threeten-dev] Review request: pattern letters changes for LDML/CLDR compatibility
Masayoshi Okutsu
masayoshi.okutsu at oracle.com
Tue Mar 19 02:44:01 PDT 2013
Hi,
Here are additional changes for more LDML/CLDR compatibility with the
pattern letters. The latest LDML spec is available at:
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
- "E" and "EE" are the same thing as "EEE". (Number is no longer
supported with 'E'.)
- "cc" is no longer valid. Only "c" is valid as Number.
- 6-letter 'E', 'e', and 'c' are accepted and treated as short style.
- Only one letter 'F' is accepted.
- Up to 2 letters of 'd', 'H', 'h','K', 'k', 'm', and 's' are accepted.
- Up to 3 letters of 'D' are accepted.
I haven't touched the time zone related pattern letters.
Webrev:
http://cr.openjdk.java.net/~okutsu/310/patterns1/webrev.00/
Thanks,
Masayoshi
p.s. Feel free to rewrite the spec part with better wording. :-)
More information about the threeten-dev
mailing list