Home | History | Annotate | Download | only in text

Lines Matching defs:CURRENCY

28 import com.ibm.icu.util.Currency;
29 import com.ibm.icu.util.Currency.CurrencyUsage;
84 * currency number format. And use <code>getPercentInstance</code> to get a
97 * getInstance(...CURRENCYSTYLE) to get the currency number format,
98 * in which the currency is represented by its symbol, for example, "$3.00".
99 * getInstance(...ISOCURRENCYSTYLE) to get the currency number format,
100 * in which the currency is represented by its ISO code, for example "USD3.00".
101 * getInstance(...PLURALCURRENCYSTYLE) to get the currency number format,
102 * in which the currency is represented by its full name in plural format,
180 * {@icu} Constant to specify general currency style of format. Defaults to
181 * STANDARDCURRENCYSTYLE, using currency symbol, for example "$3.00", with
203 * {@icu} Constant to specify currency style of format which uses currency
204 * ISO code to represent currency, for example: "USD3.00".
209 * {@icu} Constant to specify currency style of format which uses currency
210 * long name with plural format to represent currency, for example,
216 * {@icu} Constant to specify currency style of format which uses currency symbol
217 * to represent currency for accounting, for example: "($3.00), instead of
224 * {@icu} Constant to specify currency cash style of format which uses currency
225 * ISO code to represent currency, for example: "NT$3" instead of "NT$3.23".
230 * {@icu} Constant to specify currency style of format which uses currency symbol
231 * to represent currency, for example "$3.00", using non-accounting style for
405 Currency save = getCurrency(), curr = currAmt.getCurrency();
462 * currency name, searching for a match of this object's locale's
463 * currency display names, or for a 3-letter ISO currency code.
464 * This method will fail if this format is not a currency format,
465 * that is, if it does not contain the currency pattern symbol
520 * <li>The presence and position of special symbols, including currency, must match the
712 * Returns a currency format for the current default <code>FORMAT</code> locale.
713 * @return a number format for currency
722 * Returns a currency format for the specified locale.
723 * @return a number format for currency
731 * {@icu} Returns a currency format for the specified locale.
732 * @return a number format for currency
818 * Value passed to format requesting a currency format.
1268 * Sets the <tt>Currency</tt> object used to display currency
1270 * currency format. If this format is not a currency format, then
1271 * the currency object is used if and when this object becomes a
1272 * currency format.
1273 * @param theCurrency new currency object to use. May be null for
1277 Currency theCurrency) {
1278 currency = theCurrency;
1282 * Returns the <tt>Currency</tt> object used to display currency
1286 public Currency getCurrency() {
1287 return currency;
1291 * Returns the currency in effect for this formatter. Subclasses
1294 * @return a non-null Currency
1299 protected Currency getEffectiveCurrency() {
1300 Currency c = getCurrency();
1306 c = Currency.getInstance(uloc);
1371 // pattern in the locale but by replacing the single currency sign
1372 // with double currency sign.
1377 // form, e.g: pt_PT_@currency=PTE not pt_PT_PREEURO
1378 // This style wont work for currency plural format.
1379 // For currency plural format, the pattern is get from
1389 // replace single currency sign in the pattern with double currency sign
1514 * but by replacing the single currency sign with
1515 * double currency sign or triple currency sign.
1768 * Currency object used to format currencies. Subclasses may
1769 * ignore this if they are not currency formats. This will be
1773 private Currency currency;
1889 public static final Field CURRENCY = new Field("currency");
1917 if (this.getName().equals(CURRENCY.getName()))
1918 return CURRENCY;