]> granicus.if.org Git - icu/commitdiff
fix comments
authorYounies Mahmoud <younies.mahmoud@gmail.com>
Wed, 18 Mar 2020 12:56:09 +0000 (13:56 +0100)
committerYounies Mahmoud <younies.mahmoud@gmail.com>
Wed, 18 Mar 2020 12:57:11 +0000 (13:57 +0100)
icu4c/source/i18n/unicode/numberformatter.h

index 5450eaf4669a6ac1b5afa0c9708dd7e77a123a7d..e58bd2c7f6d2457d3e90ecc2248cff3d8f679545 100644 (file)
@@ -1512,10 +1512,8 @@ class U_I18N_API NumberFormatterSettings {
      *
      * Pass this method any instance of {@link MeasureUnit}. For units of measure:
      *
-     * <P>
-     * If the `usage` is correctly set, the output unit **will be changed**
-     * according to the `usage`, `locale` and `unit` values.
-     * </p>
+     * NOTE:    If the `usage` is set, the output unit **will be changed**
+     *          according to the `usage`, `locale` and `unit` values.
      * 
      * <pre>
      * NumberFormatter::with().unit(MeasureUnit::getMeter())
@@ -2049,23 +2047,19 @@ class U_I18N_API NumberFormatterSettings {
     /**
      * Specifies the usage of the unit ("person", "road", "person" ...etc.)
      *
-     * <p>
-     * 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"
-     *</p>
      *
-     * <P>
-     * If the input usage is not exist (e.g. "dance") or is misspelled,
-     * the usage will be **fall backed** to the "default" usage.
-     * </p>
+     * 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: