31 #if !UCONFIG_NO_FORMATTING
171 kFormatSymbolCount = kNineDigitSymbol + 2
258 inline UnicodeString getSymbol(ENumberFormatSymbol symbol)
const;
272 void setSymbol(ENumberFormatSymbol symbol,
const UnicodeString &value,
const UBool propogateDigits);
278 inline Locale getLocale()
const;
304 UBool beforeCurrency,
317 UBool beforeCurrency,
332 static UClassID U_EXPORT2 getStaticClassID();
354 void setCurrencyForSymbols();
358 #ifndef U_HIDE_INTERNAL_API
363 return fIsCustomCurrencySymbol;
370 return fIsCustomIntlCurrencySymbol;
386 inline const UnicodeString &getConstSymbol(ENumberFormatSymbol symbol)
const;
388 #ifndef U_HIDE_INTERNAL_API
393 inline const UChar* getCurrencyPattern(
void)
const;
424 const UChar* currPattern;
428 UBool fIsCustomCurrencySymbol;
429 UBool fIsCustomIntlCurrencySymbol;
437 if(symbol < kFormatSymbolCount) {
438 strPtr = &fSymbols[symbol];
450 if(symbol < kFormatSymbolCount) {
451 strPtr = &fSymbols[symbol];
465 if (symbol == kCurrencySymbol) {
466 fIsCustomCurrencySymbol =
TRUE;
468 else if (symbol == kIntlCurrencySymbol) {
469 fIsCustomIntlCurrencySymbol =
TRUE;
471 if(symbol<kFormatSymbolCount) {
472 fSymbols[symbol]=value;
477 if ( propogateDigits && symbol == kZeroDigitSymbol && value.
countChar32() == 1 ) {
480 for ( int8_t i = 1 ; i<= 9 ; i++ ) {
491 DecimalFormatSymbols::getLocale()
const {
495 #ifndef U_HIDE_INTERNAL_API
497 DecimalFormatSymbols::getCurrencyPattern()
const {