X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/0f5d89e82340278ed3d7d50029f37cab2c41a57e..c5116b9f5a666b9d59f443b3770acd6ef64dc6c3:/icuSources/i18n/number_skeletons.h diff --git a/icuSources/i18n/number_skeletons.h b/icuSources/i18n/number_skeletons.h index 0161f5f0..bc228bd0 100644 --- a/icuSources/i18n/number_skeletons.h +++ b/icuSources/i18n/number_skeletons.h @@ -122,7 +122,8 @@ enum StemEnum { * A number skeleton string, possibly not in its shortest form. * @return An UnlocalizedNumberFormatter with behavior defined by the given skeleton string. */ -UnlocalizedNumberFormatter create(const UnicodeString& skeletonString, UErrorCode& status); +UnlocalizedNumberFormatter create( + const UnicodeString& skeletonString, UParseError* perror, UErrorCode& status); /** * Create a skeleton string corresponding to the given NumberFormatter. @@ -138,7 +139,7 @@ UnicodeString generate(const MacroProps& macros, UErrorCode& status); * * Internal: use the create() endpoint instead of this function. */ -MacroProps parseSkeleton(const UnicodeString& skeletonString, UErrorCode& status); +MacroProps parseSkeleton(const UnicodeString& skeletonString, int32_t& errOffset, UErrorCode& status); /** * Given that the current segment represents a stem, parse it and save the result. @@ -174,7 +175,7 @@ Precision precision(skeleton::StemEnum stem); UNumberFormatRoundingMode roundingMode(skeleton::StemEnum stem); -UGroupingStrategy groupingStrategy(skeleton::StemEnum stem); +UNumberGroupingStrategy groupingStrategy(skeleton::StemEnum stem); UNumberUnitWidth unitWidth(skeleton::StemEnum stem); @@ -192,7 +193,7 @@ namespace enum_to_stem_string { void roundingMode(UNumberFormatRoundingMode value, UnicodeString& sb); -void groupingStrategy(UGroupingStrategy value, UnicodeString& sb); +void groupingStrategy(UNumberGroupingStrategy value, UnicodeString& sb); void unitWidth(UNumberUnitWidth value, UnicodeString& sb);