]> granicus.if.org Git - icu/commitdiff
address Shane's comments on number_formatter.h
authorYounies Mahmoud <younies.mahmoud@gmail.com>
Thu, 19 Mar 2020 02:20:36 +0000 (03:20 +0100)
committerYounies Mahmoud <younies.mahmoud@gmail.com>
Thu, 19 Mar 2020 02:20:36 +0000 (03:20 +0100)
icu4c/source/i18n/unicode/numberformatter.h

index e58bd2c7f6d2457d3e90ecc2248cff3d8f679545..8d6bfd58aefa1b52a6d2067a20d208fd7762ce75 100644 (file)
@@ -2535,14 +2535,6 @@ class U_I18N_API FormattedNumber : public UMemory, public FormattedValue {
     /** @copydoc FormattedValue::nextPosition() */
     UBool nextPosition(ConstrainedFieldPosition& cfpos, UErrorCode& status) const U_OVERRIDE;
 
-    /**
-     * Gets the resolved output unit.
-     *
-     * @return `MeasureUnit`.
-     * @draft ICU 67
-     */
-    MeasureUnit getOutputUnit(UErrorCode& status) const;
-
 #ifndef U_HIDE_DRAFT_API
     /**
      * Determines the start (inclusive) and end (exclusive) indices of the next occurrence of the given
@@ -2620,6 +2612,16 @@ class U_I18N_API FormattedNumber : public UMemory, public FormattedValue {
     inline StringClass toDecimalNumber(UErrorCode& status) const;
 #endif // U_HIDE_DRAFT_API
 
+#ifndef U_HIDE_DRAFT_API
+       /**
+     * Gets the resolved output unit.
+     *
+     * @return `MeasureUnit`.
+     * @draft ICU 67
+     */
+    MeasureUnit getOutputUnit(UErrorCode& status) const;
+#endif // U_HIDE_DRAFT_API
+
 #ifndef U_HIDE_INTERNAL_API
 
     /**