Home
last modified time | relevance | path

Searched refs:CurrencyAmount (Results 1 - 25 of 69) sorted by relevance

123

/third_party/node/deps/icu-small/source/i18n/
H A Dcurramt.cpp22 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
[all...]
H A Dcurrfmt.cpp52 CurrencyAmount* currAmt = getCurrencyFormatInternal().parseCurrency(source, pos); in parseObject()
/third_party/icu/icu4c/source/i18n/
H A Dcurramt.cpp22 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
[all...]
H A Dcurrfmt.cpp52 CurrencyAmount* currAmt = getCurrencyFormatInternal().parseCurrency(source, pos); in parseObject()
H A Dcompactdecimalformat.cpp67 CurrencyAmount*
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcurramt.cpp22 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
[all...]
H A Dcurrfmt.cpp52 CurrencyAmount* currAmt = getCurrencyFormatInternal().parseCurrency(source, pos); in parseObject()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DCompactDecimalFormatTest.java40 import ohos.global.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(12345678
[all...]
H A DNumberFormatTest.java69 import ohos.global.icu.util.CurrencyAmount;
602 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); in TestCurrencyFormatForMixParsing()
704 // format currency with CurrencyAmount in TestCurrency()
710 CurrencyAmount cAmt = new CurrencyAmount(1.5, curr); in TestCurrency()
711 logln("CurrencyAmount object's hashCode is: " + cAmt.hashCode()); //cover hashCode in TestCurrency()
727 String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency()
730 CurrencyAmount parsedVal = (CurrencyAmount)curFm in TestCurrency()
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
H A Dcurramt.h39 class U_I18N_API CurrencyAmount: public Measure { class
51 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode,
64 CurrencyAmount(double amount, ConstChar16Ptr isoCode,
71 CurrencyAmount(const CurrencyAmount& other);
77 CurrencyAmount& operator=(const CurrencyAmount& other);
84 virtual CurrencyAmount* clone() const override;
90 virtual ~CurrencyAmount();
123 inline const CurrencyUnit& CurrencyAmount
[all...]
H A Dcompactdecimalformat.h151 * @return if parse succeeds, a pointer to a newly-created CurrencyAmount
156 CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const U_OVERRIDE;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dcurramt.h39 class U_I18N_API CurrencyAmount: public Measure { class
51 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode,
64 CurrencyAmount(double amount, ConstChar16Ptr isoCode,
71 CurrencyAmount(const CurrencyAmount& other);
77 CurrencyAmount& operator=(const CurrencyAmount& other);
84 virtual CurrencyAmount* clone() const;
90 virtual ~CurrencyAmount();
123 inline const CurrencyUnit& CurrencyAmount
[all...]
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dcurramt.h39 class U_I18N_API CurrencyAmount: public Measure { class
51 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode,
64 CurrencyAmount(double amount, ConstChar16Ptr isoCode,
71 CurrencyAmount(const CurrencyAmount& other);
77 CurrencyAmount& operator=(const CurrencyAmount& other);
84 virtual CurrencyAmount* clone() const override;
90 virtual ~CurrencyAmount();
123 inline const char16_t* CurrencyAmount
[all...]
H A Dcompactdecimalformat.h151 * @return if parse succeeds, a pointer to a newly-created CurrencyAmount
156 CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const override;
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DCompactDecimalFormatTest.java40 import com.ibm.icu.util.CurrencyAmount;
177 {new CurrencyAmount(1f, Currency.getInstance("CNY")), "¥1"},
178 {new CurrencyAmount(12f, Currency.getInstance("CNY")), "¥12"},
179 {new CurrencyAmount(123f, Currency.getInstance("CNY")), "¥120"},
180 {new CurrencyAmount(1234f, Currency.getInstance("CNY")), "¥1200"},
181 {new CurrencyAmount(12345f, Currency.getInstance("CNY")), "¥1.2万"},
182 {new CurrencyAmount(123456f, Currency.getInstance("CNY")), "¥12万"},
183 {new CurrencyAmount(1234567f, Currency.getInstance("CNY")), "¥120万"},
184 {new CurrencyAmount(12345678f, Currency.getInstance("CNY")), "¥1200万"},
185 {new CurrencyAmount(12345678
[all...]
H A DNumberFormatTest.java68 import com.ibm.icu.util.CurrencyAmount;
599 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); in TestCurrencyFormatForMixParsing()
701 // format currency with CurrencyAmount in TestCurrency()
707 CurrencyAmount cAmt = new CurrencyAmount(1.5, curr); in TestCurrency()
708 logln("CurrencyAmount object's hashCode is: " + cAmt.hashCode()); //cover hashCode in TestCurrency()
724 String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency()
727 CurrencyAmount parsedVal = (CurrencyAmount)curFm in TestCurrency()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCurrencyAmount.java18 * CurrencyAmount objects are immutable.
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
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DCurrencyAmount.java19 * CurrencyAmount objects are immutable.
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
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCurrencyFormat.java19 import com.ibm.icu.util.CurrencyAmount;
24 * CurrencyAmount objects. This class is likely to be redesigned and rewritten in the near future.
48 if (!(obj instanceof CurrencyAmount)) { in format()
60 public CurrencyAmount parseObject(String source, ParsePosition pos) { in parseObject()
H A DCompactDecimalFormat.java17 import com.ibm.icu.util.CurrencyAmount;
144 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition parsePosition) { in parseCurrency()
H A DNumberFormat.java31 import com.ibm.icu.util.CurrencyAmount;
282 } else if (number instanceof CurrencyAmount) { in format()
283 return format((CurrencyAmount)number, toAppendTo, pos); in format()
355 * {@icu} Convenience method to format a CurrencyAmount.
358 public final String format(CurrencyAmount currAmt) { in format()
405 * {@icu} Formats a CurrencyAmount. Specialization of format.
409 public StringBuffer format(CurrencyAmount currAmt, in format()
469 * Parses text from the given string as a CurrencyAmount. Unlike
482 * @return a CurrencyAmount, or null upon failure
485 public CurrencyAmount parseCurrenc
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCurrencyFormat.java20 import ohos.global.icu.util.CurrencyAmount;
25 * CurrencyAmount objects. This class is likely to be redesigned and rewritten in the near future.
49 if (!(obj instanceof CurrencyAmount)) { in format()
61 public CurrencyAmount parseObject(String source, ParsePosition pos) { in parseObject()
H A DCompactDecimalFormat.java18 import ohos.global.icu.util.CurrencyAmount;
132 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition parsePosition) { in parseCurrency()
H A DNumberFormat.java32 import ohos.global.icu.util.CurrencyAmount;
269 } else if (number instanceof CurrencyAmount) { in format()
270 return format((CurrencyAmount)number, toAppendTo, pos); in format()
336 * <strong>[icu]</strong> Convenience method to format a CurrencyAmount.
338 public final String format(CurrencyAmount currAmt) { in format()
380 * <strong>[icu]</strong> Formats a CurrencyAmount. Specialization of format.
383 public StringBuffer format(CurrencyAmount currAmt, in format()
441 * Parses text from the given string as a CurrencyAmount. Unlike
454 * @return a CurrencyAmount, or null upon failure
456 public CurrencyAmount parseCurrenc
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
H A DNumberFormatterFactory.java17 import com.ibm.icu.util.CurrencyAmount;
116 } else if (toFormat instanceof CurrencyAmount) { in format()
117 result = realFormatter.format((CurrencyAmount) toFormat); in format()

Completed in 15 milliseconds

123