[threeten-dev] DateTimeFormatter.withLocale question

Naoto Sato naoto.sato at oracle.com
Tue Feb 12 14:34:17 PST 2013


On 2/12/13 8:05 AM, Stephen Colebourne wrote:
> DateFormat/SimpleDateFormat doesn't distinguish between the two
> AFAICT, but 310 is trying to. I'm very open to design options in this
> area.

Starting from JDK8, DateFormat/SimpleDateFormat recognizes "-u-nu-xxxx" 
Unicode locale keyword. While "text" are localized with the base locale, 
numbers are formatted in "xxxx" script if available. I'd expect the 
similar behavior in 310 the formatters.

Naoto



More information about the threeten-dev mailing list