129129 * <ul>
130130 * <li> {@link #setParseIntegerOnly(boolean)}; when {@code true}, will only return the
131131 * integer portion of the number parsed from the String.
132- * <li> {@link #setMinimumFractionDigits(int)}; Use to adjust the expected digits when
133- * formatting. Use any of the other minimum/maximum or fraction/integer setter methods
134- * in the same manner.
132+ * <li> {@link #setMinimumFractionDigits(int)}; Use to adjust the expected digits
133+ * when formatting. Use any of the other minimum/maximum or fraction/integer
134+ * setter methods in the same manner. These methods have no impact on parsing behavior .
135135 * <li> {@link #setGroupingUsed(boolean)}; when {@code true}, formatted numbers will be displayed
136136 * with grouping separators. Additionally, when {@code false}, parsing will not expect
137137 * grouping separators in the parsed String.
@@ -918,7 +918,7 @@ public void setGroupingUsed(boolean newValue) {
918918
919919 /**
920920 * Returns the maximum number of digits allowed in the integer portion of a
921- * number.
921+ * number during formatting .
922922 *
923923 * @return the maximum number of digits
924924 * @see #setMaximumIntegerDigits
@@ -929,14 +929,15 @@ public int getMaximumIntegerDigits() {
929929
930930 /**
931931 * Sets the maximum number of digits allowed in the integer portion of a
932- * number. maximumIntegerDigits must be ≥ minimumIntegerDigits. If the
933- * new value for maximumIntegerDigits is less than the current value
934- * of minimumIntegerDigits, then minimumIntegerDigits will also be set to
935- * the new value.
932+ * number during formatting. {@code maximumIntegerDigits} must be ≥
933+ * {@code minimumIntegerDigits}. If the new value for {@code
934+ * maximumIntegerDigits} is less than the current value of
935+ * {@code minimumIntegerDigits}, then {@code minimumIntegerDigits} will
936+ * also be set to the new value. Negative input values are replaced with 0.
936937 *
937- * @param newValue the maximum number of integer digits to be shown; if
938- * less than zero, then zero is used. The concrete subclass may enforce an
939- * upper limit to this value appropriate to the numeric type being formatted.
938+ * @param newValue the maximum number of integer digits to be shown. The
939+ * concrete subclass may enforce an upper limit to this value appropriate to
940+ * the numeric type being formatted.
940941 * @see #getMaximumIntegerDigits
941942 */
942943 public void setMaximumIntegerDigits (int newValue ) {
@@ -948,7 +949,7 @@ public void setMaximumIntegerDigits(int newValue) {
948949
949950 /**
950951 * Returns the minimum number of digits allowed in the integer portion of a
951- * number.
952+ * number during formatting .
952953 *
953954 * @return the minimum number of digits
954955 * @see #setMinimumIntegerDigits
@@ -959,14 +960,15 @@ public int getMinimumIntegerDigits() {
959960
960961 /**
961962 * Sets the minimum number of digits allowed in the integer portion of a
962- * number. minimumIntegerDigits must be ≤ maximumIntegerDigits. If the
963- * new value for minimumIntegerDigits exceeds the current value
964- * of maximumIntegerDigits, then maximumIntegerDigits will also be set to
965- * the new value
963+ * number during formatting. {@code minimumIntegerDigits} must be ≤
964+ * {@code maximumIntegerDigits}. If the new value for {@code minimumIntegerDigits}
965+ * exceeds the current value of {@code maximumIntegerDigits}, then {@code
966+ * maximumIntegerDigits} will also be set to the new value. Negative input
967+ * values are replaced with 0.
966968 *
967- * @param newValue the minimum number of integer digits to be shown; if
968- * less than zero, then zero is used. The concrete subclass may enforce an
969- * upper limit to this value appropriate to the numeric type being formatted.
969+ * @param newValue the minimum number of integer digits to be shown. The
970+ * concrete subclass may enforce an upper limit to this value appropriate to
971+ * the numeric type being formatted.
970972 * @see #getMinimumIntegerDigits
971973 */
972974 public void setMinimumIntegerDigits (int newValue ) {
@@ -978,7 +980,7 @@ public void setMinimumIntegerDigits(int newValue) {
978980
979981 /**
980982 * Returns the maximum number of digits allowed in the fraction portion of a
981- * number.
983+ * number during formatting .
982984 *
983985 * @return the maximum number of digits.
984986 * @see #setMaximumFractionDigits
@@ -989,14 +991,15 @@ public int getMaximumFractionDigits() {
989991
990992 /**
991993 * Sets the maximum number of digits allowed in the fraction portion of a
992- * number. maximumFractionDigits must be ≥ minimumFractionDigits. If the
993- * new value for maximumFractionDigits is less than the current value
994- * of minimumFractionDigits, then minimumFractionDigits will also be set to
995- * the new value.
994+ * number during formatting. {@code maximumFractionDigits} must be ≥
995+ * {@code minimumFractionDigits}. If the new value for {@code maximumFractionDigits}
996+ * is less than the current value of {@code minimumFractionDigits}, then
997+ * {@code minimumFractionDigits} will also be set to the new value. Negative
998+ * input values are replaced with 0.
996999 *
997- * @param newValue the maximum number of fraction digits to be shown; if
998- * less than zero, then zero is used. The concrete subclass may enforce an
999- * upper limit to this value appropriate to the numeric type being formatted.
1000+ * @param newValue the maximum number of fraction digits to be shown. The
1001+ * concrete subclass may enforce an upper limit to this value appropriate to
1002+ * the numeric type being formatted.
10001003 * @see #getMaximumFractionDigits
10011004 */
10021005 public void setMaximumFractionDigits (int newValue ) {
@@ -1008,7 +1011,7 @@ public void setMaximumFractionDigits(int newValue) {
10081011
10091012 /**
10101013 * Returns the minimum number of digits allowed in the fraction portion of a
1011- * number.
1014+ * number during formatting .
10121015 *
10131016 * @return the minimum number of digits
10141017 * @see #setMinimumFractionDigits
@@ -1019,14 +1022,15 @@ public int getMinimumFractionDigits() {
10191022
10201023 /**
10211024 * Sets the minimum number of digits allowed in the fraction portion of a
1022- * number. minimumFractionDigits must be ≤ maximumFractionDigits. If the
1023- * new value for minimumFractionDigits exceeds the current value
1024- * of maximumFractionDigits, then maximumFractionDigits will also be set to
1025- * the new value
1025+ * number during formatting. {@code minimumFractionDigits} must be ≤
1026+ * {@code maximumFractionDigits}. If the new value for {@code
1027+ * minimumFractionDigits} exceeds the current value of {@code
1028+ * maximumFractionDigits}, then {@code maximumFractionDigits} will also be
1029+ * set to the new value. Negative input values are replaced with 0.
10261030 *
1027- * @param newValue the minimum number of fraction digits to be shown; if
1028- * less than zero, then zero is used. The concrete subclass may enforce an
1029- * upper limit to this value appropriate to the numeric type being formatted.
1031+ * @param newValue the minimum number of fraction digits to be shown. The
1032+ * concrete subclass may enforce an upper limit to this value appropriate to
1033+ * the numeric type being formatted.
10301034 * @see #getMinimumFractionDigits
10311035 */
10321036 public void setMinimumFractionDigits (int newValue ) {
0 commit comments