public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols) {
        if (newSymbols != null) {
            decimalFormatSymbols = (DecimalFormatSymbols) newSymbols.clone();
            if (decimalFormat != null) {
                decimalFormat.setDecimalFormatSymbols(decimalFormatSymbols);
            }
            if (defaultInfinityRule != null) {
                defaultInfinityRule = null;
                getDefaultInfinityRule(); // Reset with the new DecimalFormatSymbols
            }
            if (defaultNaNRule != null) {
                defaultNaNRule = null;
                getDefaultNaNRule(); // Reset with the new DecimalFormatSymbols
            }

            // Apply the new decimalFormatSymbols by reparsing the rulesets
            for (NFRuleSet ruleSet : ruleSets) {
                ruleSet.setDecimalFormatSymbols(decimalFormatSymbols);
            }
        }
    }
public void setDecimalFormatSymbols ( DecimalFormatSymbols newSymbols ) { if ( newSymbols != null ) { decimalFormatSymbols = ( DecimalFormatSymbols ) newSymbols . clone ( ) ; if ( decimalFormat != null ) { decimalFormat . setDecimalFormatSymbols ( decimalFormatSymbols ) ; } if ( defaultInfinityRule != null ) { defaultInfinityRule = null ; getDefaultInfinityRule ( ) ; } if ( defaultNaNRule != null ) { defaultNaNRule = null ; getDefaultNaNRule ( ) ; } for ( NFRuleSet ruleSet : ruleSets ) { ruleSet . setDecimalFormatSymbols ( decimalFormatSymbols ) ; } } }
Sets the decimal format symbols used by this formatter. The formatter uses a copy of the
provided symbols.

@param newSymbols desired DecimalFormatSymbols
@see DecimalFormatSymbols