From: Yoshito Umaoka Date: Thu, 13 Jun 2013 15:03:37 +0000 (+0000) Subject: ICU-10172 Minor corrections in DecimalFormat set/getRoundingIncrement API docs. X-Git-Tag: milestone-59-0-1~2837 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56a5b9c0a0b9f678d7c6a6a6b09081ecb8a2f39f;p=icu ICU-10172 Minor corrections in DecimalFormat set/getRoundingIncrement API docs. X-SVN-Rev: 33824 --- diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java index 025a4b19f13..eb0d59973ea 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java @@ -3128,8 +3128,8 @@ public class DecimalFormat extends NumberFormat { /** * {@icu} Returns the rounding increment. * - * @return A positive rounding increment, or null if rounding is not in - * effect. + * @return A positive rounding increment, or null if a custom rounding + * increment is not in effect. * @see #setRoundingIncrement * @see #getRoundingMode * @see #setRoundingMode @@ -3142,11 +3142,11 @@ public class DecimalFormat extends NumberFormat { } /** - * {@icu} Sets the rounding increment. This method also controls whether rounding is - * enabled. + * {@icu} Sets the rounding increment. In the absence of a rounding increment, numbers + * will be rounded to the number of digits displayed. * * @param newValue A positive rounding increment, or null or - * BigDecimal(0.0) to disable rounding. + * BigDecimal(0.0) to use the default rounding increment. * @throws IllegalArgumentException if newValue is < 0.0 * @see #getRoundingIncrement * @see #getRoundingMode @@ -3162,11 +3162,11 @@ public class DecimalFormat extends NumberFormat { } /** - * {@icu} Sets the rounding increment. This method also controls whether rounding is - * enabled. + * {@icu} Sets the rounding increment. In the absence of a rounding increment, numbers + * will be rounded to the number of digits displayed. * * @param newValue A positive rounding increment, or null or - * BigDecimal(0.0) to disable rounding. + * BigDecimal(0.0) to use the default rounding increment. * @throws IllegalArgumentException if newValue is < 0.0 * @see #getRoundingIncrement * @see #getRoundingMode @@ -3187,10 +3187,11 @@ public class DecimalFormat extends NumberFormat { } /** - * {@icu} Sets the rounding increment. This method also controls whether rounding is - * enabled. + * {@icu} Sets the rounding increment. In the absence of a rounding increment, numbers + * will be rounded to the number of digits displayed. * - * @param newValue A positive rounding increment, or 0.0 to disable rounding. + * @param newValue A positive rounding increment, or 0.0 to use the default + * rounding increment. * @throws IllegalArgumentException if newValue is < 0.0 * @see #getRoundingIncrement * @see #getRoundingMode