8211449: Correction to the spec of implicit negative subpattern in DecimalFormat

Reviewed-by: bpb
This commit is contained in:
Naoto Sato 2020-11-20 17:10:00 +00:00
parent 11bfdc57f9
commit 2c3a2bed6d

View file

@ -127,7 +127,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* subpattern, for example, {@code "#,##0.00;(#,##0.00)"}. Each * subpattern, for example, {@code "#,##0.00;(#,##0.00)"}. Each
* subpattern has a prefix, numeric part, and suffix. The negative subpattern * subpattern has a prefix, numeric part, and suffix. The negative subpattern
* is optional; if absent, then the positive subpattern prefixed with the * is optional; if absent, then the positive subpattern prefixed with the
* localized minus sign ({@code '-'} in most locales) is used as the * minus sign ({@code '-' U+002D HYPHEN-MINUS}) is used as the
* negative subpattern. That is, {@code "0.00"} alone is equivalent to * negative subpattern. That is, {@code "0.00"} alone is equivalent to
* {@code "0.00;-0.00"}. If there is an explicit negative subpattern, it * {@code "0.00;-0.00"}. If there is an explicit negative subpattern, it
* serves only to specify the negative prefix and suffix; the number of digits, * serves only to specify the negative prefix and suffix; the number of digits,