On 5/7/2020 1:14 AM, Stephen Colebourne wrote:
On Thu, 7 May 2020 at 07:38, Joe Wang <huizhe.w...@oracle.com> wrote:
The Javadoc states:
      If the locale contains the "ca" (calendar), "nu" (numbering
system), "rg" (region override), and/or "tz" (timezone) Unicode
extensions, the chronology, numbering system and/or the zone are overridden.

If you remove the two statements that check whether the specified locale
contains "ca" or "nu", would you need to update the Javadoc as well?
Those things are checked by the methods Chronology.of(locale) and
DecimalStyle.of(locale), so although indirect, I think the Javadoc is
fine.

I see.  Thanks.

-Joe

Stephen

Reply via email to