15#if U_SHOW_CPLUSPLUS_API
29#if UCONFIG_NO_FORMATTING
47class LocalizationInfo;
49class RuleBasedCollator;
79#ifndef U_HIDE_DEPRECATED_API
791 const Locale& locale = Locale::getDefault());
802 const Locale& locale = Locale::getDefault());
805 using NumberFormat::format;
915 using NumberFormat::parse;
935#if !UCONFIG_NO_COLLATION
1072 void initCapitalizationContextInfo(
const Locale& thelocale);
1075 void initDefaultRuleSet();
1079 friend class NFSubstitution;
1080 friend class NFRule;
1081 friend class NFRuleSet;
1082 friend class FractionalPartSubstitution;
1084 inline NFRuleSet * getDefaultRuleSet()
const;
1088 NFRule * initializeDefaultInfinityRule(
UErrorCode &status);
1089 const NFRule * getDefaultInfinityRule()
const;
1090 NFRule * initializeDefaultNaNRule(
UErrorCode &status);
1091 const NFRule * getDefaultNaNRule()
const;
1098 NFRuleSet **fRuleSets;
1100 int32_t numRuleSets;
1101 NFRuleSet *defaultRuleSet;
1105 NFRule *defaultInfinityRule;
1106 NFRule *defaultNaNRule;
1110 LocalizationInfo* localizations;
1112 UBool capitalizationInfoSet;
1113 UBool capitalizationForUIListMenu;
1114 UBool capitalizationForStandAlone;
1120#if !UCONFIG_NO_COLLATION
1123RuleBasedNumberFormat::isLenient(
void)
const {
1130RuleBasedNumberFormat::getDefaultRuleSet()
const {
1131 return defaultRuleSet;
The BreakIterator class implements methods for finding the location of boundaries in text.
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
A Locale object represents a specific geographical, political, or cultural region.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
The RuleBasedCollator class provides the implementation of Collator, using data-driven tables.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Symbols for formatting numbers.
C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing.
C++ API: Locale ID object.
URBNFRuleSetTag
Tags for the predefined rulesets.
@ URBNF_COUNT
One more than the highest normal URBNFRuleSetTag value.
@ URBNF_DURATION
Requests predefined ruleset for formatting a value as a duration in hours, minutes,...
@ URBNF_NUMBERING_SYSTEM
Requests predefined ruleset for various non-place-value numbering systems.
@ URBNF_ORDINAL
Requests predefined ruleset for the ordinal form of a number.
@ URBNF_SPELLOUT
Requests predefined ruleset for spelling out numeric values in words.
C++ API: Compatibility APIs for number formatting.
C++ API: String Enumeration.
A UParseError struct is used to returned detailed information about parsing errors.
UDisplayContext
Display context settings.
int8_t UBool
The ICU boolean type, a signed-byte integer.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
C API: Plural rules, select plural keywords for numeric values.
UPluralType
Type of plurals and PluralRules.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.