[15]: RFR: 8244245: localizedBy() should override localized values with default values

Stephen Colebourne scolebourne at joda.org
Thu May 7 08:14:25 UTC 2020


On Thu, 7 May 2020 at 07:38, Joe Wang <huizhe.wang at 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.
Stephen


More information about the core-libs-dev mailing list