Home
last modified time | relevance | path

Searched refs:CURRENCY (Results 1 - 25 of 47) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DAffixUtils.java280 return NumberFormat.Field.CURRENCY; in getFieldForType()
282 return NumberFormat.Field.CURRENCY; in getFieldForType()
284 return NumberFormat.Field.CURRENCY; in getFieldForType()
286 return NumberFormat.Field.CURRENCY; in getFieldForType()
288 return NumberFormat.Field.CURRENCY; in getFieldForType()
290 return NumberFormat.Field.CURRENCY; in getFieldForType()
328 length += output.insertCodePoint(position + length, 0xFFFD, NumberFormat.Field.CURRENCY); in unescape()
413 if (typeOrCp < 0 && getFieldForType(typeOrCp) == NumberFormat.Field.CURRENCY) { in hasCurrencySymbols()
H A DCurrencySpacingEnabledModifier.java41 if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
56 if (suffix.length() > 0 && suffix.fieldAt(0) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
81 // TODO: Should we use the CURRENCY field here? in apply()
87 // TODO: Should we use the CURRENCY field here? in apply()
128 if (affixField != NumberFormat.Field.CURRENCY) { in applyCurrencySpacingAffix()
148 // TODO: Should we use the CURRENCY field here? in applyCurrencySpacingAffix()
H A DCompactData.java25 DECIMAL, CURRENCY enum constant
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DAffixUtils.java283 return NumberFormat.Field.CURRENCY; in getFieldForType()
285 return NumberFormat.Field.CURRENCY; in getFieldForType()
287 return NumberFormat.Field.CURRENCY; in getFieldForType()
289 return NumberFormat.Field.CURRENCY; in getFieldForType()
291 return NumberFormat.Field.CURRENCY; in getFieldForType()
293 return NumberFormat.Field.CURRENCY; in getFieldForType()
331 length += output.insertCodePoint(position + length, 0xFFFD, NumberFormat.Field.CURRENCY); in unescape()
416 if (typeOrCp < 0 && getFieldForType(typeOrCp) == NumberFormat.Field.CURRENCY) { in hasCurrencySymbols()
H A DCurrencySpacingEnabledModifier.java43 if (prefix.length() > 0 && prefix.fieldAt(prefix.length() - 1) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
58 if (suffix.length() > 0 && suffix.fieldAt(0) == NumberFormat.Field.CURRENCY) { in CurrencySpacingEnabledModifier()
83 // TODO: Should we use the CURRENCY field here? in apply()
89 // TODO: Should we use the CURRENCY field here? in apply()
130 if (affixField != NumberFormat.Field.CURRENCY) { in applyCurrencySpacingAffix()
150 // TODO: Should we use the CURRENCY field here? in applyCurrencySpacingAffix()
H A DCompactData.java29 DECIMAL, CURRENCY enum constant
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
H A DNumberFormatProviderICU.java24 private final static int CURRENCY = 2; field in NumberFormatProviderICU
29 return getInstance(CURRENCY, locale); in getCurrencyInstance()
62 case CURRENCY: in getInstance()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DModifierTest.java41 suffix.append("b", NumberFormat.Field.CURRENCY); in testConstantMultiFieldModifier()
100 prefix.append("USD", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
112 sb2.insert(0, "USD", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
121 suffix.append("XYZ", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DModifierTest.java38 suffix.append("b", NumberFormat.Field.CURRENCY); in testConstantMultiFieldModifier()
97 prefix.append("USD", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
109 sb2.insert(0, "USD", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
118 suffix.append("XYZ", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
H A DPatternStringTest.java157 {com.ibm.icu.text.NumberFormat.Field.CURRENCY, 2, 3}, in testCurrencyDecimal()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DFormattedStringBuilderTest.java171 sb.append(str, NumberFormat.Field.CURRENCY); in testFields()
177 assertEquals(NumberFormat.Field.CURRENCY, fields[i + str.length()]); in testFields()
178 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length())); in testFields()
183 FieldPosition fp = new FieldPosition(NumberFormat.Field.CURRENCY); in testFields()
206 } else if (fields[i] == NumberFormat.Field.CURRENCY) { in testFields()
H A DIntlTestDecimalFormatAPIC.java361 // v.add(new FieldContainer(4, 6, NumberFormat.Field.CURRENCY));
369 // v.add(new FieldContainer(5, 7, NumberFormat.Field.CURRENCY));
375 v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); in getPositiveCurrencyVectorUS()
386 v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); in getNegativeCurrencyVectorUS()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DFormattedStringBuilderTest.java174 sb.append(str, NumberFormat.Field.CURRENCY); in testFields()
180 assertEquals(NumberFormat.Field.CURRENCY, fields[i + str.length()]); in testFields()
181 assertEquals(NumberFormat.Field.CURRENCY, sb.fieldAt(i + str.length())); in testFields()
186 FieldPosition fp = new FieldPosition(NumberFormat.Field.CURRENCY); in testFields()
209 } else if (fields[i] == NumberFormat.Field.CURRENCY) { in testFields()
H A DIntlTestDecimalFormatAPIC.java364 // v.add(new FieldContainer(4, 6, NumberFormat.Field.CURRENCY));
372 // v.add(new FieldContainer(5, 7, NumberFormat.Field.CURRENCY));
378 v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); in getPositiveCurrencyVectorUS()
389 v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); in getNegativeCurrencyVectorUS()
/third_party/icu/tools/currency/src/com/ibm/icu/dev/tool/currency/
H A DCurrencyDataParser.java53 CURRENCY("CcyNm"), enum constant
123 case CURRENCY: in characters()
/third_party/node/deps/v8/src/objects/
H A Djs-number-format.cc37 enum class Style { DECIMAL, PERCENT, CURRENCY, UNIT }; member in v8::internal::__anon14849::Style
378 case Style::CURRENCY: in StyleAsString()
808 return Style::CURRENCY; in StyleFromSkeleton()
1225 {Style::DECIMAL, Style::PERCENT, Style::CURRENCY, Style::UNIT}, in New()
1258 if (style == Style::CURRENCY) { in New()
1333 if (style == Style::CURRENCY) { in New()
1394 if (style == Style::CURRENCY) { in New()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DDecimalFormatICU.java425 if (icuAttribute == NumberFormat.Field.CURRENCY) { in mapAttribute()
426 jdkAttribute = java.text.NumberFormat.Field.CURRENCY; in mapAttribute()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNumberFormat.java1960 public static final Field CURRENCY = new Field("currency"); field in NumberFormat.Field
2004 if (this.getName().equals(CURRENCY.getName())) in readResolve()
2005 return CURRENCY; in readResolve()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DNumberFormat.java1858 public static final Field CURRENCY = new Field("currency"); field in NumberFormat.Field
1892 if (this.getName().equals(CURRENCY.getName())) in readResolve()
1893 return CURRENCY; in readResolve()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberFormatterImpl.java463 && macros.unitWidth != UnitWidth.FULL_NAME) ? CompactType.CURRENCY in macrosToMicroGenerator()
534 NumberFormat.Field.CURRENCY); in writeNumber()
H A DNumberRangeFormatterImpl.java310 if (!mm.containsField(NumberFormat.Field.CURRENCY) && !mm.containsField(NumberFormat.Field.PERCENT)) { in formatRange()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationAPITest.java874 col1.setMaxVariable(Collator.ReorderCodes.CURRENCY); in TestSubClass()
1054 coll.setMaxVariable(Collator.ReorderCodes.CURRENCY); in TestMaxVariable()
1056 if(Collator.ReorderCodes.CURRENCY != coll.getMaxVariable()) { in TestMaxVariable()
1697 // FDD1 20AC; [0D 70 02, 05, 05] # CURRENCY first primary in TestGapTooSmall()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationAPITest.java877 col1.setMaxVariable(Collator.ReorderCodes.CURRENCY); in TestSubClass()
1057 coll.setMaxVariable(Collator.ReorderCodes.CURRENCY); in TestMaxVariable()
1059 if(Collator.ReorderCodes.CURRENCY != coll.getMaxVariable()) { in TestMaxVariable()
1700 // FDD1 20AC; [0D 70 02, 05, 05] # CURRENCY first primary in TestGapTooSmall()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DCollator.java290 public final static int CURRENCY = 0x1003; field
1315 * Collator.ReorderCodes.SYMBOL, Collator.ReorderCodes.CURRENCY;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DFormattedStringBuilder.java457 fieldToDebugChar.put(NumberFormat.Field.CURRENCY, '$');

Completed in 26 milliseconds

12