Searched defs:currency (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/text/
H A DDecimalFormat.java38 * percentages ("12%"), and currency amounts ("$123"). All of these flavors can
91 * special status. Two exceptions are the currency sign and quote, which are not
175 * <td>Currency sign, replaced by currency symbol. If doubled, replaced by
176 * international currency symbol. If present in a pattern, the monetary decimal
716 * Returns the currency used by this decimal format.
718 * @return the currency used by this decimal format.
914 * Sets the currency used by this decimal format. The min and max fraction
917 * @param currency
918 * the currency this {@code DecimalFormat} should use.
922 public void setCurrency(Currency currency) { argument
[all...]
H A DDecimalFormatSymbols.java56 private transient Currency currency; field in class:DecimalFormatSymbols
99 currency = Currency.getInstance(locale);
100 currencySymbol = currency.getSymbol(locale);
101 intlCurrencySymbol = currency.getCurrencyCode();
103 currency = Currency.getInstance("XXX");
174 return currency.equals(obj.currency) &&
194 "[currency=" + currency +
213 * Returns the currency
390 setCurrency(Currency currency) argument
[all...]
H A DNumberFormat.java88 * {@link #getCurrencyInstance} to get the currency number format, and
317 * Returns the currency used by this number format.
320 * concrete subclasses should override this method if they support currency
324 * @return the currency that was set in getInstance() or in setCurrency(),
333 * Returns a {@code NumberFormat} for formatting and parsing currency values
337 * @return a {@code NumberFormat} for handling currency values.
344 * Returns a {@code NumberFormat} for formatting and parsing currency values
349 * @return a {@code NumberFormat} for handling currency values.
579 * Sets the currency used by this number format when formatting currency
590 setCurrency(Currency currency) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeDecimalFormat.java408 public void setCurrency(Currency currency) { argument
409 setSymbol(this.address, UNUM_CURRENCY_SYMBOL, currency.getSymbol());
410 setSymbol(this.address, UNUM_INTL_CURRENCY_SYMBOL, currency.getCurrencyCode());

Completed in 80 milliseconds