/external/icu/icu4c/source/i18n/ |
D | curramt.cpp | 22 CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, in CurrencyAmount() function in CurrencyAmount 27 CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode, in CurrencyAmount() function in CurrencyAmount 32 CurrencyAmount::CurrencyAmount(const CurrencyAmount& other) : in CurrencyAmount() function in CurrencyAmount 36 CurrencyAmount& CurrencyAmount::operator=(const CurrencyAmount& other) { in operator =() 41 UObject* CurrencyAmount::clone() const { in clone() 42 return new CurrencyAmount(*this); in clone() 45 CurrencyAmount::~CurrencyAmount() { in ~CurrencyAmount() 48 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyAmount)
|
D | currfmt.cpp | 55 CurrencyAmount* currAmt = fmt->parseCurrency(source, pos); in parseObject()
|
D | compactdecimalformat.cpp | 67 CurrencyAmount*
|
D | numfmt.cpp | 509 const CurrencyAmount* amt; in ArgExtractor() 510 if (o != NULL && (amt = dynamic_cast<const CurrencyAmount*>(o)) != NULL) { in ArgExtractor() 730 CurrencyAmount* NumberFormat::parseCurrency(const UnicodeString& text, in parseCurrency() 741 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec); in parseCurrency()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 40 import android.icu.util.CurrencyAmount; 174 {new CurrencyAmount(1f, Currency.getInstance("CNY")), "¥1"}, 175 {new CurrencyAmount(12f, Currency.getInstance("CNY")), "¥12"}, 176 {new CurrencyAmount(123f, Currency.getInstance("CNY")), "¥120"}, 177 {new CurrencyAmount(1234f, Currency.getInstance("CNY")), "¥1200"}, 178 {new CurrencyAmount(12345f, Currency.getInstance("CNY")), "¥1.2万"}, 179 {new CurrencyAmount(123456f, Currency.getInstance("CNY")), "¥12万"}, 180 {new CurrencyAmount(1234567f, Currency.getInstance("CNY")), "¥120万"}, 181 {new CurrencyAmount(12345678f, Currency.getInstance("CNY")), "¥1200万"}, 182 {new CurrencyAmount(123456789f, Currency.getInstance("CNY")), "¥1.2亿"}, [all …]
|
D | NumberFormatTest.java | 67 import android.icu.util.CurrencyAmount; 581 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); in TestCurrencyFormatForMixParsing() 689 CurrencyAmount cAmt = new CurrencyAmount(1.5, curr); in TestCurrency() 706 …String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency() 709 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(strBuf); in TestCurrency() 731 CurrencyAmount ca1 = new CurrencyAmount(123.45, gbpJava); in TestJavaCurrencyConversion() 732 CurrencyAmount ca2 = new CurrencyAmount(123.45, gbpIcu); in TestJavaCurrencyConversion() 735 ca1 = new CurrencyAmount(new BigDecimal("543.21"), gbpJava); in TestJavaCurrencyConversion() 736 ca2 = new CurrencyAmount(new BigDecimal("543.21"), gbpIcu); in TestJavaCurrencyConversion() 804 CurrencyAmount val = numFmt.parseCurrency(oneCurrencyFormatResult, null); in TestCurrencyIsoPluralFormat() [all …]
|
D | NumberFormatDataDrivenTest.java | 24 import android.icu.util.CurrencyAmount; 100 CurrencyAmount actual, in compareParseCurrencyResult() 171 CurrencyAmount actual = fmt.parseCurrency(tuple.parse, ppos); 878 CurrencyAmount actual;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 39 import com.ibm.icu.util.CurrencyAmount; 171 {new CurrencyAmount(1f, Currency.getInstance("CNY")), "¥1"}, 172 {new CurrencyAmount(12f, Currency.getInstance("CNY")), "¥12"}, 173 {new CurrencyAmount(123f, Currency.getInstance("CNY")), "¥120"}, 174 {new CurrencyAmount(1234f, Currency.getInstance("CNY")), "¥1200"}, 175 {new CurrencyAmount(12345f, Currency.getInstance("CNY")), "¥1.2万"}, 176 {new CurrencyAmount(123456f, Currency.getInstance("CNY")), "¥12万"}, 177 {new CurrencyAmount(1234567f, Currency.getInstance("CNY")), "¥120万"}, 178 {new CurrencyAmount(12345678f, Currency.getInstance("CNY")), "¥1200万"}, 179 {new CurrencyAmount(123456789f, Currency.getInstance("CNY")), "¥1.2亿"}, [all …]
|
D | NumberFormatTest.java | 66 import com.ibm.icu.util.CurrencyAmount; 578 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); in TestCurrencyFormatForMixParsing() 686 CurrencyAmount cAmt = new CurrencyAmount(1.5, curr); in TestCurrency() 703 …String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency() 706 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(strBuf); in TestCurrency() 728 CurrencyAmount ca1 = new CurrencyAmount(123.45, gbpJava); in TestJavaCurrencyConversion() 729 CurrencyAmount ca2 = new CurrencyAmount(123.45, gbpIcu); in TestJavaCurrencyConversion() 732 ca1 = new CurrencyAmount(new BigDecimal("543.21"), gbpJava); in TestJavaCurrencyConversion() 733 ca2 = new CurrencyAmount(new BigDecimal("543.21"), gbpIcu); in TestJavaCurrencyConversion() 801 CurrencyAmount val = numFmt.parseCurrency(oneCurrencyFormatResult, null); in TestCurrencyIsoPluralFormat() [all …]
|
D | NumberFormatDataDrivenTest.java | 23 import com.ibm.icu.util.CurrencyAmount; 97 CurrencyAmount actual, in compareParseCurrencyResult() 168 CurrencyAmount actual = fmt.parseCurrency(tuple.parse, ppos); 875 CurrencyAmount actual;
|
/external/icu/icu4c/source/i18n/unicode/ |
D | curramt.h | 37 class U_I18N_API CurrencyAmount: public Measure { 49 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, 62 CurrencyAmount(double amount, ConstChar16Ptr isoCode, 69 CurrencyAmount(const CurrencyAmount& other); 75 CurrencyAmount& operator=(const CurrencyAmount& other); 88 virtual ~CurrencyAmount(); 121 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { in getCurrency() 125 inline const char16_t* CurrencyAmount::getISOCurrency() const { in getISOCurrency()
|
D | compactdecimalformat.h | 153 CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const U_OVERRIDE;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CurrencyAmount.java | 25 public class CurrencyAmount extends Measure { class 32 public CurrencyAmount(Number number, Currency currency) { in CurrencyAmount() method in CurrencyAmount 41 public CurrencyAmount(double number, Currency currency) { in CurrencyAmount() method in CurrencyAmount 50 public CurrencyAmount(Number number, java.util.Currency currency) { in CurrencyAmount() method in CurrencyAmount 59 public CurrencyAmount(double number, java.util.Currency currency) { in CurrencyAmount() method in CurrencyAmount
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CurrencyAmount.java | 25 public class CurrencyAmount extends Measure { class 33 public CurrencyAmount(Number number, Currency currency) { in CurrencyAmount() method in CurrencyAmount 43 public CurrencyAmount(double number, Currency currency) { in CurrencyAmount() method in CurrencyAmount 53 public CurrencyAmount(Number number, java.util.Currency currency) { in CurrencyAmount() method in CurrencyAmount 63 public CurrencyAmount(double number, java.util.Currency currency) { in CurrencyAmount() method in CurrencyAmount
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyFormat.java | 20 import android.icu.util.CurrencyAmount; 49 if (!(obj instanceof CurrencyAmount)) { in format() 61 public CurrencyAmount parseObject(String source, ParsePosition pos) { in parseObject()
|
D | CompactDecimalFormat.java | 18 import android.icu.util.CurrencyAmount; 120 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition parsePosition) { in parseCurrency()
|
D | NumberFormat.java | 32 import android.icu.util.CurrencyAmount; 269 } else if (number instanceof CurrencyAmount) { in format() 270 return format((CurrencyAmount)number, toAppendTo, pos); in format() 338 public final String format(CurrencyAmount currAmt) { in format() 383 public StringBuffer format(CurrencyAmount currAmt, in format() 456 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos) { in parseCurrency() 460 return n == null ? null : new CurrencyAmount(n, getEffectiveCurrency()); in parseCurrency()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyFormat.java | 19 import com.ibm.icu.util.CurrencyAmount; 48 if (!(obj instanceof CurrencyAmount)) { in format() 60 public CurrencyAmount parseObject(String source, ParsePosition pos) { in parseObject()
|
D | CompactDecimalFormat.java | 17 import com.ibm.icu.util.CurrencyAmount; 144 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition parsePosition) { in parseCurrency()
|
D | NumberFormat.java | 31 import com.ibm.icu.util.CurrencyAmount; 282 } else if (number instanceof CurrencyAmount) { in format() 283 return format((CurrencyAmount)number, toAppendTo, pos); in format() 358 public final String format(CurrencyAmount currAmt) { in format() 409 public StringBuffer format(CurrencyAmount currAmt, in format() 485 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos) { in parseCurrency() 489 return n == null ? null : new CurrencyAmount(n, getEffectiveCurrency()); in parseCurrency()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | NumberParserImpl.java | 26 import com.ibm.icu.util.CurrencyAmount; 99 public static CurrencyAmount parseStaticCurrency( in parseStaticCurrency() 110 … return new CurrencyAmount(result.getNumber(), Currency.getInstance(result.currencyCode)); in parseStaticCurrency()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | NumberParserImpl.java | 27 import android.icu.util.CurrencyAmount; 101 public static CurrencyAmount parseStaticCurrency( in parseStaticCurrency() 112 … return new CurrencyAmount(result.getNumber(), Currency.getInstance(result.currencyCode)); in parseStaticCurrency()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 20 import com.ibm.icu.util.CurrencyAmount; 85 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | LocalizedNumberFormatter.java | 17 import com.ibm.icu.util.CurrencyAmount;
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | LocalizedNumberFormatter.java | 18 import android.icu.util.CurrencyAmount;
|