From: Younies Mahmoud Date: Wed, 18 Mar 2020 12:56:09 +0000 (+0100) Subject: fix comments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a629463d2da4a888e2a7989871189f19dfef525d;p=icu fix comments --- diff --git a/icu4c/source/i18n/unicode/numberformatter.h b/icu4c/source/i18n/unicode/numberformatter.h index 5450eaf4669..e58bd2c7f6d 100644 --- a/icu4c/source/i18n/unicode/numberformatter.h +++ b/icu4c/source/i18n/unicode/numberformatter.h @@ -1512,10 +1512,8 @@ class U_I18N_API NumberFormatterSettings { * * Pass this method any instance of {@link MeasureUnit}. For units of measure: * - *

- * If the `usage` is correctly set, the output unit **will be changed** - * according to the `usage`, `locale` and `unit` values. - *

+ * NOTE: If the `usage` is set, the output unit **will be changed** + * according to the `usage`, `locale` and `unit` values. * *
      * NumberFormatter::with().unit(MeasureUnit::getMeter())
@@ -2049,23 +2047,19 @@ class U_I18N_API NumberFormatterSettings {
     /**
      * Specifies the usage of the unit ("person", "road", "person" ...etc.)
      *
-     * 

- * NOTE: `usage` will change the output unit depending on the `Locale` - * and the unit value. - * For Example: - * Locale: en_US - * Usage : length-person - * Unit : Meter - * - * If the unit value is 0.25, the output will be "10 inches." - * If the unit value is 1.50, the output will be + * NOTE: `usage` will change the output unit depending on the `Locale` + * and the unit value. + * For Example: + * Locale: en_US + * Usage : length-person + * Unit : Meter + * + * If the unit value is 0.25, the output will be "10 inches." + * If the unit value is 1.50, the output will be * "4 feet and 11 inches" - *

* - *

- * If the input usage is not exist (e.g. "dance") or is misspelled, - * the usage will be **fall backed** to the "default" usage. - *

+ * NOTE: If the input usage is not exist (e.g. "dance") or is misspelled, + * the usage will be **fall backed** to the "default" usage. * * Pass this method a `StringPiece` that represents the usage of * the unit. For example: