31 #if !UCONFIG_NO_FORMATTING
192 #ifndef U_HIDE_DRAFT_API
256 inline UnicodeString getSymbol(ENumberFormatSymbol symbol)
const;
270 void setSymbol(ENumberFormatSymbol symbol,
const UnicodeString &value,
const UBool propogateDigits);
276 inline Locale getLocale()
const;
302 UBool beforeCurrency,
315 UBool beforeCurrency,
330 static UClassID U_EXPORT2 getStaticClassID();
352 void setCurrencyForSymbols();
355 #ifndef U_HIDE_INTERNAL_API
367 inline const UnicodeString &getConstSymbol(ENumberFormatSymbol symbol)
const;
373 inline const UChar* getCurrencyPattern(
void)
const;
404 const UChar* currPattern;
415 if(symbol < kFormatSymbolCount) {
416 strPtr = &fSymbols[symbol];
423 #ifndef U_HIDE_INTERNAL_API
428 if(symbol < kFormatSymbolCount) {
429 strPtr = &fSymbols[symbol];
443 if(symbol<kFormatSymbolCount) {
444 fSymbols[symbol]=value;
449 if ( propogateDigits && symbol == kZeroDigitSymbol && value.
countChar32() == 1 ) {
452 for ( int8_t i = 1 ; i<= 9 ; i++ ) {
463 DecimalFormatSymbols::getLocale()
const {
467 #ifndef U_HIDE_INTERNAL_API
469 DecimalFormatSymbols::getCurrencyPattern()
const {