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];
449 if(symbol < kFormatSymbolCount) {
450 strPtr = &fSymbols[symbol];
461 if (symbol == kCurrencySymbol) {
462 fIsCustomCurrencySymbol =
TRUE;
464 else if (symbol == kIntlCurrencySymbol) {
465 fIsCustomIntlCurrencySymbol =
TRUE;
467 if(symbol<kFormatSymbolCount) {
468 fSymbols[symbol]=value;
473 if ( propogateDigits && symbol == kZeroDigitSymbol && value.
countChar32() == 1 ) {
476 for ( int8_t i = 1 ; i<= 9 ; i++ ) {
487 DecimalFormatSymbols::getLocale()
const {
491 #ifndef U_HIDE_INTERNAL_API
493 DecimalFormatSymbols::getCurrencyPattern()
const {