mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-15 13:49:42 +02:00
8364370: java.text.DecimalFormat specification indentation correction
Reviewed-by: liach, naoto
This commit is contained in:
parent
6d0bbc8a18
commit
8e921aee5a
1 changed files with 7 additions and 6 deletions
|
@ -114,12 +114,6 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
|
||||||
* pattern} or using one of the appropriate {@code DecimalFormat} setter methods,
|
* pattern} or using one of the appropriate {@code DecimalFormat} setter methods,
|
||||||
* for example, {@link #setMinimumFractionDigits(int)}. These limits have no impact
|
* for example, {@link #setMinimumFractionDigits(int)}. These limits have no impact
|
||||||
* on parsing behavior.
|
* on parsing behavior.
|
||||||
* @implSpec
|
|
||||||
* When formatting a {@code Number} other than {@code BigInteger} and
|
|
||||||
* {@code BigDecimal}, {@code 309} is used as the upper limit for integer digits,
|
|
||||||
* and {@code 340} as the upper limit for fraction digits. This occurs, even if
|
|
||||||
* one of the {@code DecimalFormat} getter methods, for example, {@link #getMinimumFractionDigits()}
|
|
||||||
* returns a numerically greater value.
|
|
||||||
*
|
*
|
||||||
* <h3>Special Values</h3>
|
* <h3>Special Values</h3>
|
||||||
* <ul>
|
* <ul>
|
||||||
|
@ -417,6 +411,13 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
|
||||||
* <li>Exponential patterns may not contain grouping separators.
|
* <li>Exponential patterns may not contain grouping separators.
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
|
* @implSpec
|
||||||
|
* When formatting a {@code Number} other than {@code BigInteger} and
|
||||||
|
* {@code BigDecimal}, {@code 309} is used as the upper limit for integer digits,
|
||||||
|
* and {@code 340} as the upper limit for fraction digits. This occurs, even if
|
||||||
|
* one of the {@code DecimalFormat} getter methods, for example, {@link #getMinimumFractionDigits()}
|
||||||
|
* returns a numerically greater value.
|
||||||
|
*
|
||||||
* @spec https://www.unicode.org/reports/tr35
|
* @spec https://www.unicode.org/reports/tr35
|
||||||
* Unicode Locale Data Markup Language (LDML)
|
* Unicode Locale Data Markup Language (LDML)
|
||||||
* @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a>
|
* @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue