[threeten-dev] Review request: standalone text support

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Sat Mar 9 04:38:53 PST 2013


I added standalone text support.

- Added 'L' (standalone month names), 'c' (standalone day-of-week 
names), and 'q' (standalone quarter names).

- Changed 'e' to support text (format day-of-week names) as well. And 
"ee" is accepted as a valid pattern. This is consistent with the LDML 
spec. But let me know if this change shouldn't be made.

- "cc" is accepted (as the same pattern as "ee"), which is undefined in 
the LDML spec.

- 6-letters of 'c' and 'e' are handles as invalid patterns.

- Added standalone day-of-weeknames to FormatData_fi.java for testing 
purpose. In JRE fi locale, the format day-of-week names are in the 
standalone form, while the format and standalone names are different in 
CLDR. We won't be able to change the format names of the JRE fi locale 
due to the compatibility risk.

Webrev:
http://cr.openjdk.java.net/~okutsu/310/standalonetext/webrev.00

Thanks,
Masayoshi



More information about the threeten-dev mailing list