/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }
/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }
/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }
/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }
/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }
/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }
/** * Sets the currency used by this decimal format. The min and max fraction * digits remain the same. * * @param currency * the currency this {@code DecimalFormat} should use. * @see DecimalFormatSymbols#setCurrency(Currency) */ @Override public void setCurrency(Currency currency) { ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); symbols.setCurrency(currency); }