]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/number_affixutils.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / number_affixutils.h
index f011a54b316166879d818c5b65c9d8e7787dcbfd..5cfde61ffd0ca2c1591fb9e1252439705d95fc8b 100644 (file)
@@ -11,7 +11,7 @@
 #include "number_types.h"
 #include "unicode/stringpiece.h"
 #include "unicode/unistr.h"
-#include "number_stringbuilder.h"
+#include "formatted_string_builder.h"
 #include "unicode/uniset.h"
 
 U_NAMESPACE_BEGIN namespace number {
@@ -134,16 +134,16 @@ class U_I18N_API AffixUtils {
     /**
      * Executes the unescape state machine. Replaces the unquoted characters "-", "+", "%", "‰", and
      * "¤" with the corresponding symbols provided by the {@link SymbolProvider}, and inserts the
-     * result into the NumberStringBuilder at the requested location.
+     * result into the FormattedStringBuilder at the requested location.
      *
      * <p>Example input: "'-'¤x"; example output: "-$x"
      *
      * @param affixPattern The original string to be unescaped.
-     * @param output The NumberStringBuilder to mutate with the result.
-     * @param position The index into the NumberStringBuilder to insert the string.
+     * @param output The FormattedStringBuilder to mutate with the result.
+     * @param position The index into the FormattedStringBuilder to insert the string.
      * @param provider An object to generate locale symbols.
      */
-    static int32_t unescape(const UnicodeString& affixPattern, NumberStringBuilder& output,
+    static int32_t unescape(const UnicodeString& affixPattern, FormattedStringBuilder& output,
                             int32_t position, const SymbolProvider& provider, Field field,
                             UErrorCode& status);