/external/icu/icu4c/source/i18n/ |
H A D | curramt.cpp | 20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode, function in class:CurrencyAmount 25 CurrencyAmount::CurrencyAmount(double amount, const UChar* isoCode, function in class:CurrencyAmount 30 CurrencyAmount::CurrencyAmount(const CurrencyAmount& other) : function in class:CurrencyAmount 34 CurrencyAmount& CurrencyAmount::operator=(const CurrencyAmount [all...] |
H A D | currfmt.cpp | 53 CurrencyAmount* currAmt = fmt->parseCurrency(source, pos);
|
H A D | numfmt.cpp | 508 const CurrencyAmount* amt; 509 if (o != NULL && (amt = dynamic_cast<const CurrencyAmount*>(o)) != NULL) { 729 CurrencyAmount* NumberFormat::parseCurrency(const UnicodeString& text, 740 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec);
|
H A D | unum.cpp | 314 CurrencyAmount *tempCurrAmnt = new CurrencyAmount(number, currency, *status); 447 LocalPointer<CurrencyAmount> currAmt(((const NumberFormat*)fmt)->parseCurrency(src, pp));
|
H A D | decimfmt.cpp | 889 CurrencyAmount* DecimalFormat::parseCurrency(const UnicodeString& text, 897 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curbuf, ec), ec);
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | curramt.h | 35 class U_I18N_API CurrencyAmount: public Measure { class in inherits:Measure 47 CurrencyAmount(const Formattable& amount, const UChar* isoCode, 60 CurrencyAmount(double amount, const UChar* isoCode, 67 CurrencyAmount(const CurrencyAmount& other); 73 CurrencyAmount& operator=(const CurrencyAmount& other); 86 virtual ~CurrencyAmount(); 119 inline const CurrencyUnit& CurrencyAmount::getCurrency() const { 123 inline const UChar* CurrencyAmount [all...] |
H A D | compactdecimalformat.h | 362 * @return if parse succeeds, a pointer to a newly-created CurrencyAmount 367 virtual CurrencyAmount* parseCurrency(const UnicodeString& text,
|
H A D | numfmt.h | 629 * @return if parse succeeds, a pointer to a newly-created CurrencyAmount 634 virtual CurrencyAmount* parseCurrency(const UnicodeString& text,
|
H A D | decimfmt.h | 1212 * @return if parse succeeds, a pointer to a newly-created CurrencyAmount 1217 virtual CurrencyAmount* parseCurrency(const UnicodeString& text,
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | CurrencyAmount.java | 17 * CurrencyAmount objects are immutable. 23 public class CurrencyAmount extends Measure { class in inherits:Measure 30 public CurrencyAmount(Number number, Currency currency) { method in class:CurrencyAmount 39 public CurrencyAmount(double number, Currency currency) { method in class:CurrencyAmount
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CurrencyAmount.java | 16 * CurrencyAmount objects are immutable. 23 public class CurrencyAmount extends Measure { class in inherits:Measure 31 public CurrencyAmount(Number number, Currency currency) { method in class:CurrencyAmount 41 public CurrencyAmount(double number, Currency currency) { method in class:CurrencyAmount
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CurrencyFormat.java | 18 import android.icu.util.CurrencyAmount; 24 * parsing and formatting of CurrencyAmount objects. This class is 63 if (!(obj instanceof CurrencyAmount)) { 66 CurrencyAmount currency = (CurrencyAmount) obj; 77 public CurrencyAmount parseObject(String source, ParsePosition pos) {
|
H A D | NumberFormat.java | 28 import android.icu.util.CurrencyAmount; 258 } else if (number instanceof CurrencyAmount) { 259 return format((CurrencyAmount)number, toAppendTo, pos); 325 * <strong>[icu]</strong> Convenience method to format a CurrencyAmount. 327 public final String format(CurrencyAmount currAmt) { 369 * <strong>[icu]</strong> Formats a CurrencyAmount. Specialization of format. 372 public StringBuffer format(CurrencyAmount currAmt, 419 * Parses text from the given string as a CurrencyAmount. Unlike 432 * @return a CurrencyAmount, or null upon failure 434 public CurrencyAmount parseCurrenc [all...] |
H A D | MeasureFormat.java | 42 import android.icu.util.CurrencyAmount; 426 // CurrencyAmount currencyLow = (CurrencyAmount) lowValue; 427 // CurrencyAmount currencyHigh = (CurrencyAmount) highValue; 601 * Return a formatter for CurrencyAmount objects in the given 611 * Return a formatter for CurrencyAmount objects in the given 621 * Return a formatter for CurrencyAmount objects in the default 1001 new CurrencyAmount(n, (Currency) unit), 1061 CurrencyAmount [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CurrencyFormat.java | 17 import com.ibm.icu.util.CurrencyAmount; 23 * parsing and formatting of CurrencyAmount objects. This class is 62 if (!(obj instanceof CurrencyAmount)) { 65 CurrencyAmount currency = (CurrencyAmount) obj; 76 public CurrencyAmount parseObject(String source, ParsePosition pos) {
|
H A D | NumberFormat.java | 27 import com.ibm.icu.util.CurrencyAmount; 271 } else if (number instanceof CurrencyAmount) { 272 return format((CurrencyAmount)number, toAppendTo, pos); 344 * {@icu} Convenience method to format a CurrencyAmount. 347 public final String format(CurrencyAmount currAmt) { 394 * {@icu} Formats a CurrencyAmount. Specialization of format. 398 public StringBuffer format(CurrencyAmount currAmt, 447 * Parses text from the given string as a CurrencyAmount. Unlike 460 * @return a CurrencyAmount, or null upon failure 463 public CurrencyAmount parseCurrenc [all...] |
H A D | MeasureFormat.java | 41 import com.ibm.icu.util.CurrencyAmount; 443 // CurrencyAmount currencyLow = (CurrencyAmount) lowValue; 444 // CurrencyAmount currencyHigh = (CurrencyAmount) highValue; 625 * Return a formatter for CurrencyAmount objects in the given 636 * Return a formatter for CurrencyAmount objects in the given 647 * Return a formatter for CurrencyAmount objects in the default 1028 new CurrencyAmount(n, (Currency) unit), 1088 CurrencyAmount [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
H A D | NumberFormatJDK.java | 18 import com.ibm.icu.util.CurrencyAmount; 80 //String format(CurrencyAmount currAmt) 83 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | NumberFormatTest.java | 46 import android.icu.util.CurrencyAmount; 131 CurrencyAmount currAmt = fmt.parseCurrency(tuple.parse, ppos); 917 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); 987 // format currency with CurrencyAmount 993 CurrencyAmount cAmt = new CurrencyAmount(1.5, curr); 994 logln("CurrencyAmount object's hashCode is: " + cAmt.hashCode()); //cover hashCode 1010 String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); 1013 CurrencyAmount parsedVa [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatTest.java | 45 import com.ibm.icu.util.CurrencyAmount; 127 CurrencyAmount currAmt = fmt.parseCurrency(tuple.parse, ppos); 913 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); 983 // format currency with CurrencyAmount 989 CurrencyAmount cAmt = new CurrencyAmount(1.5, curr); 990 logln("CurrencyAmount object's hashCode is: " + cAmt.hashCode()); //cover hashCode 1006 String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); 1009 CurrencyAmount parsedVa [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | uobjtest.cpp | 372 TESTCLASSID_CTOR(CurrencyAmount, (1.0, SMALL_STR, status));
|
H A D | numfmtst.cpp | 430 LocalPointer<CurrencyAmount> currAmt( 621 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); 2390 CurrencyAmount ca(9, USD, ec); 2391 assertSuccess("CurrencyAmount", ec); 2393 CurrencyAmount ca2(ca); 2395 errln("CurrencyAmount copy constructed object should be same"); 2400 errln("CurrencyAmount assigned object should be same"); 2403 CurrencyAmount *ca3 = (CurrencyAmount *)ca.clone(); 2405 errln("CurrencyAmount clone [all...] |
H A D | tsmthred.cpp | 504 fYDDThing.adoptObject(new CurrencyAmount(123.456, kYDD, status)); 505 fBBDThing.adoptObject(new CurrencyAmount(987.654, kBBD, status));
|
H A D | measfmttest.cpp | 1346 CurrencyAmount USD_1(1.0, USD, status); 1347 CurrencyAmount USD_2(2.0, USD, status); 1348 CurrencyAmount USD_NEG_1(-1.0, USD, status);
|
H A D | intltest.cpp | 185 const CurrencyAmount* c = dynamic_cast<const CurrencyAmount*>(f.getObject());
|