HomeSort by relevance Sort by last modified time
    Searched refs:CurrencyUsage (Results 1 - 25 of 31) sorted by null

1 2

  /external/icu/android_icu4j/src/main/java/android/icu/number/
Precision.java 14 import android.icu.util.Currency.CurrencyUsage;
351 * @param currencyUsage
358 public static CurrencyPrecision currency(CurrencyUsage currencyUsage) {
359 if (currencyUsage != null) {
360 return constructCurrency(currencyUsage);
362 throw new IllegalArgumentException("CurrencyUsage must be non-null");
438 static final CurrencyRounderImpl MONETARY_STANDARD = new CurrencyRounderImpl(CurrencyUsage.STANDARD);
439 static final CurrencyRounderImpl MONETARY_CASH = new CurrencyRounderImpl(CurrencyUsage.CASH);
491 static CurrencyPrecision constructCurrency(CurrencyUsage usage)
    [all...]
NumberPropertyMapper.java 28 import android.icu.util.Currency.CurrencyUsage;
124 CurrencyUsage currencyUsage = properties.getCurrencyUsage();
125 boolean explicitCurrencyUsage = currencyUsage != null;
127 currencyUsage = CurrencyUsage.STANDARD;
152 minFrac = currency.getDefaultFractionDigits(currencyUsage);
153 maxFrac = currency.getDefaultFractionDigits(currencyUsage);
155 minFrac = Math.min(maxFrac, currency.getDefaultFractionDigits(currencyUsage));
157 maxFrac = Math.max(minFrac, currency.getDefaultFractionDigits(currencyUsage));
    [all...]
NumberSkeletonImpl.java 26 import android.icu.util.Currency.CurrencyUsage;
231 return Precision.currency(CurrencyUsage.STANDARD);
233 return Precision.currency(CurrencyUsage.CASH);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
Precision.java 13 import com.ibm.icu.util.Currency.CurrencyUsage;
361 * @param currencyUsage
369 public static CurrencyPrecision currency(CurrencyUsage currencyUsage) {
370 if (currencyUsage != null) {
371 return constructCurrency(currencyUsage);
373 throw new IllegalArgumentException("CurrencyUsage must be non-null");
450 static final CurrencyRounderImpl MONETARY_STANDARD = new CurrencyRounderImpl(CurrencyUsage.STANDARD);
451 static final CurrencyRounderImpl MONETARY_CASH = new CurrencyRounderImpl(CurrencyUsage.CASH);
503 static CurrencyPrecision constructCurrency(CurrencyUsage usage)
    [all...]
NumberPropertyMapper.java 27 import com.ibm.icu.util.Currency.CurrencyUsage;
123 CurrencyUsage currencyUsage = properties.getCurrencyUsage();
124 boolean explicitCurrencyUsage = currencyUsage != null;
126 currencyUsage = CurrencyUsage.STANDARD;
151 minFrac = currency.getDefaultFractionDigits(currencyUsage);
152 maxFrac = currency.getDefaultFractionDigits(currencyUsage);
154 minFrac = Math.min(maxFrac, currency.getDefaultFractionDigits(currencyUsage));
156 maxFrac = Math.max(minFrac, currency.getDefaultFractionDigits(currencyUsage));
    [all...]
NumberSkeletonImpl.java 25 import com.ibm.icu.util.Currency.CurrencyUsage;
230 return Precision.currency(CurrencyUsage.STANDARD);
232 return Precision.currency(CurrencyUsage.CASH);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUCurrencyMetaInfo.java 19 import android.icu.util.Currency.CurrencyUsage;
54 return currencyDigits(isoCode, CurrencyUsage.STANDARD);
58 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyPurpose) {
64 if (currencyPurpose == CurrencyUsage.CASH) {
66 } else if (currencyPurpose == CurrencyUsage.STANDARD) {
  /external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
ICUCurrencyMetaInfo.java 18 import com.ibm.icu.util.Currency.CurrencyUsage;
52 return currencyDigits(isoCode, CurrencyUsage.STANDARD);
56 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyPurpose) {
62 if (currencyPurpose == CurrencyUsage.CASH) {
64 } else if (currencyPurpose == CurrencyUsage.STANDARD) {
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CurrencyMetaInfo.java 19 import android.icu.util.Currency.CurrencyUsage;
500 * This is equivalent to currencyDigits(isoCode, CurrencyUsage.STANDARD);
505 return currencyDigits(isoCode, CurrencyUsage.STANDARD);
511 * @param currencyUsage the currency usage
514 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) {
DecimalFormat.java 33 import android.icu.util.Currency.CurrencyUsage;
618 // "currencyUsage" => ignore this because the old code puts currencyUsage directly into min/max fraction.
    [all...]
NumberFormat.java 31 import android.icu.util.Currency.CurrencyUsage;
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DataDrivenNumberFormatTestData.java 105 public Currency.CurrencyUsage currencyUsage = null;
151 private static Map<String, Currency.CurrencyUsage> currencyUsageMap =
152 new HashMap<String, Currency.CurrencyUsage>();
155 currencyUsageMap.put("standard", Currency.CurrencyUsage.STANDARD);
156 currencyUsageMap.put("cash", Currency.CurrencyUsage.CASH);
211 "currencyUsage",
351 currencyUsage = fromString(currencyUsageMap, value);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DataDrivenNumberFormatTestData.java 102 public Currency.CurrencyUsage currencyUsage = null;
148 private static Map<String, Currency.CurrencyUsage> currencyUsageMap =
149 new HashMap<String, Currency.CurrencyUsage>();
152 currencyUsageMap.put("standard", Currency.CurrencyUsage.STANDARD);
153 currencyUsageMap.put("cash", Currency.CurrencyUsage.CASH);
208 "currencyUsage",
348 currencyUsage = fromString(currencyUsageMap, value);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CurrencyMetaInfo.java 18 import com.ibm.icu.util.Currency.CurrencyUsage;
540 * This is equivalent to currencyDigits(isoCode, CurrencyUsage.STANDARD);
546 return currencyDigits(isoCode, CurrencyUsage.STANDARD);
552 * @param currencyUsage the currency usage
556 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) {
DecimalFormat.java 32 import com.ibm.icu.util.Currency.CurrencyUsage;
631 // "currencyUsage" => ignore this because the old code puts currencyUsage directly into min/max fraction.
    [all...]
NumberFormat.java 30 import com.ibm.icu.util.Currency.CurrencyUsage;
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
PropertiesTest.java 42 import android.icu.util.Currency.CurrencyUsage;
251 } else if (type == CurrencyUsage.class) {
254 CurrencyUsage[] values = CurrencyUsage.values();
NumberFormatterApiTest.java 54 import android.icu.util.Currency.CurrencyUsage;
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
PropertiesTest.java 41 import com.ibm.icu.util.Currency.CurrencyUsage;
248 } else if (type == CurrencyUsage.class) {
251 CurrencyUsage[] values = CurrencyUsage.values();
NumberFormatterApiTest.java 53 import com.ibm.icu.util.Currency.CurrencyUsage;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
Currency.java 101 public enum CurrencyUsage{
836 * This is equivalent to getDefaultFractionDigits(CurrencyUsage.STANDARD);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
Currency.java 106 public enum CurrencyUsage{
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DecimalFormatProperties.java 24 import android.icu.util.Currency.CurrencyUsage;
89 private transient CurrencyUsage currencyUsage;
161 currencyUsage = null;
207 currencyUsage = other.currencyUsage;
254 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage);
317 hashCode ^= _hashCodeHelper(currencyUsage);
428 public CurrencyUsage getCurrencyUsage()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DecimalFormatProperties.java 23 import com.ibm.icu.util.Currency.CurrencyUsage;
84 private transient CurrencyUsage currencyUsage;
156 currencyUsage = null;
202 currencyUsage = other.currencyUsage;
249 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage);
312 hashCode ^= _hashCodeHelper(currencyUsage);
423 public CurrencyUsage getCurrencyUsage()
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
CurrencyTest.java     [all...]

Completed in 533 milliseconds

1 2