Home | History | Annotate | Download | only in text

Lines Matching defs:CURRENCY

29 import android.icu.util.Currency;
30 import android.icu.util.Currency.CurrencyUsage;
85 * currency number format. And use <code>getPercentInstance</code> to get a
98 * getInstance(...CURRENCYSTYLE) to get the currency number format,
99 * in which the currency is represented by its symbol, for example, "$3.00".
100 * getInstance(...ISOCURRENCYSTYLE) to get the currency number format,
101 * in which the currency is represented by its ISO code, for example "USD3.00".
102 * getInstance(...PLURALCURRENCYSTYLE) to get the currency number format,
103 * in which the currency is represented by its full name in plural format,
179 * <strong>[icu]</strong> Constant to specify general currency style of format. Defaults to
180 * STANDARDCURRENCYSTYLE, using currency symbol, for example "$3.00", with
198 * <strong>[icu]</strong> Constant to specify currency style of format which uses currency
199 * ISO code to represent currency, for example: "USD3.00".
203 * <strong>[icu]</strong> Constant to specify currency style of format which uses currency
204 * long name with plural format to represent currency, for example,
209 * <strong>[icu]</strong> Constant to specify currency style of format which uses currency symbol
210 * to represent currency for accounting, for example: "($3.00), instead of
216 * <strong>[icu]</strong> Constant to specify currency cash style of format which uses currency
217 * ISO code to represent currency, for example: "NT$3" instead of "NT$3.23".
221 * <strong>[icu]</strong> Constant to specify currency style of format which uses currency symbol
222 * to represent currency, for example "$3.00", using non-accounting style for
379 Currency save = getCurrency(), curr = currAmt.getCurrency();
434 * currency name, searching for a match of this object's locale's
435 * currency display names, or for a 3-letter ISO currency code.
436 * This method will fail if this format is not a currency format,
437 * that is, if it does not contain the currency pattern symbol
489 * <li>The presence and position of special symbols, including currency, must match the
666 * Returns a currency format for the current default <code>FORMAT</code> locale.
667 * @return a number format for currency
675 * Returns a currency format for the specified locale.
676 * @return a number format for currency
683 * <strong>[icu]</strong> Returns a currency format for the specified locale.
684 * @return a number format for currency
762 * Value passed to format requesting a currency format.
1181 * Sets the <tt>Currency</tt> object used to display currency
1183 * currency format. If this format is not a currency format, then
1184 * the currency object is used if and when this object becomes a
1185 * currency format.
1186 * @param theCurrency new currency object to use. May be null for
1189 public void setCurrency(Currency theCurrency) {
1190 currency = theCurrency;
1194 * Returns the <tt>Currency</tt> object used to display currency
1197 public Currency getCurrency() {
1198 return currency;
1202 * Returns the currency in effect for this formatter. Subclasses
1205 * @return a non-null Currency
1211 protected Currency getEffectiveCurrency() {
1212 Currency c = getCurrency();
1218 c = Currency.getInstance(uloc);
1280 // pattern in the locale but by replacing the single currency sign
1281 // with double currency sign.
1286 // form, e.g: pt_PT_@currency=PTE not pt_PT_PREEURO
1287 // This style wont work for currency plural format.
1288 // For currency plural format, the pattern is get from
1298 // replace single currency sign in the pattern with double currency sign
1423 * but by replacing the single currency sign with
1424 * double currency sign or triple currency sign.
1677 * Currency object used to format currencies. Subclasses may
1678 * ignore this if they are not currency formats. This will be
1681 private Currency currency;
1784 public static final Field CURRENCY = new Field("currency");
1810 if (this.getName().equals(CURRENCY.getName()))
1811 return CURRENCY;