Home | History | Annotate | Download | only in i18n

Lines Matching defs:currency

15 *   08/26/97    aliu        Added currency/intl currency symbol support.
165 NULL, /* currency symbol - We don't really try to load this directly from CLDR until we know the currency */
166 NULL, /* intl currency symbol - We don't really try to load this directly from CLDR until we know the currency */
294 // Obtain currency data from the currency API. This is strictly
296 // for currency data anymore.
316 //load the currency data
317 UChar ucc[4]={0}; //Currency Codes are always 3 chars long
326 /* An explicit currency was requested */
328 UResourceBundle *currency = ures_getByKeyWithFallback(currencyResource, "Currencies", NULL, &localStatus);
329 currency = ures_getByKeyWithFallback(currency, cc, currency, &localStatus);
330 if(U_SUCCESS(localStatus) && ures_getSize(currency)>2) { // the length is 3 if more data is present
331 currency = ures_getByIndex(currency, 2, currency, &localStatus);
333 currPattern = ures_getStringByIndex(currency, (int32_t)0, &currPatternLen, &localStatus);
334 UnicodeString decimalSep = ures_getUnicodeStringByIndex(currency, (int32_t)1, &localStatus);
335 UnicodeString groupingSep = ures_getUnicodeStringByIndex(currency, (int32_t)2, &localStatus);
343 ures_close(currency);
345 /* else An explicit currency was requested and is unknown or locale data is malformed. */
348 // else ignore the error if no currency
350 // Currency Spacing.
412 fSymbols[kCurrencySymbol] = (UChar)0xa4; // 'OX' currency symbol