/external/icu/icu4c/source/test/intltest/ |
D | incaltst.cpp | 417 …SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calen… in TestBuddhistFormat() local 423 fmt2->format(aDate, str); in TestBuddhistFormat() 442 delete fmt2; in TestBuddhistFormat() 502 …SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calen… in TestJapaneseFormat() local 508 fmt2->format(aDate, str); in TestJapaneseFormat() 539 fmt2->format(aDate, str); in TestJapaneseFormat() 563 delete fmt2; in TestJapaneseFormat() 619 …SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("HH:mm:ss.S MMMM d, yyyy G"), Locale("… in TestJapanese3860() local 645 fmt2->format(aDate, str); in TestJapanese3860() 685 fmt2->format(aDate, str); in TestJapanese3860() [all …]
|
D | tchcfmt.cpp | 480 ChoiceFormat fmt2(PAT, status); in TestClosures() local 497 if (fmt1 != fmt2) { in TestClosures() 504 const double *limits2 = fmt2.getLimits(count2); in TestClosures() 505 const UBool *closures2 = fmt2.getClosures(count2); in TestClosures() 543 ChoiceFormat* FMT[] = { &fmt1, &fmt2 }; in TestClosures()
|
D | reldatefmttest.cpp | 583 RelativeDateTimeFormatter fmt2(fmt); in TestEnglishCaps() local 584 fmt3 = fmt2; in TestEnglishCaps() 687 RelativeDateTimeFormatter fmt2(fmt); in TestCustomNumberFormat() local 688 RunTest(fmt2, kEnglishDecimal, UPRV_LENGTHOF(kEnglishDecimal), "en decimal digits"); in TestCustomNumberFormat() 711 RelativeDateTimeFormatter fmt2(fmt); in TestGetters() local 712 fmt3 = fmt2; in TestGetters()
|
D | tzregts.cpp | 939 DateFormat* fmt2 = new SimpleDateFormat(UnicodeString("z"), status); in Test4176686() local 941 fmt2->setTimeZone(*z2); // Format uses DST zone in Test4176686() 970 "DateFormat.format(std)/dst zone", fmt2->format(std, k), "GMT+1:30", in Test4176686() 971 "DateFormat.format(dst)/dst zone", fmt2->format(dst, l), "GMT+2:15", in Test4176686() 982 delete fmt2; in Test4176686()
|
D | simplepatternformattertest.cpp | 303 SimplePatternFormatter fmt2("Placeholders {0} and {1}", status); in TestBadArguments() local 306 fmt2.formatAndAppend(params, 2, appendTo, NULL, 0, status); in TestBadArguments()
|
D | tmsgfmt.cpp | 1411 MessageFormat* fmt2 = NULL; in _testCopyConstructor2() local 1420 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2() 1423 if (fmt2 == NULL) { in _testCopyConstructor2() 1429 fmt4 = (MessageFormat*) fmt2->clone(); in _testCopyConstructor2() 1441 result = fmt2->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1447 delete fmt2; in _testCopyConstructor2()
|
D | numrgts.cpp | 1727 DecimalFormat *fmt2 = new DecimalFormat(buf, *symbols, status); in Test4122840() local 1736 fmt2->setRoundingIncrement(rounding); in Test4122840() 1737 fmt2->setMinimumFractionDigits(frac); in Test4122840() 1738 fmt2->setMaximumFractionDigits(frac); in Test4122840() 1746 fmt2->format(1.111, result2, pos); in Test4122840() 1753 delete fmt2; in Test4122840()
|
D | numfmtst.cpp | 1713 DecimalFormat fmt2(UnicodeString("0.###E+0"), US, status); in TestExponent() local 1717 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2509 DecimalFormat fmt2(pat, sym, ec); in TestAdoptDecimalFormatSymbols() local 2521 fmt2.setDecimalFormatSymbols(sym2); in TestAdoptDecimalFormatSymbols() 2524 fmt2.format(2350.75, str); in TestAdoptDecimalFormatSymbols() 2542 DecimalFormat fmt2("", sym, ec); in TestPerMill() local 2543 fmt2.applyLocalizedPattern("###.###m", ec); in TestPerMill() 2547 "485.7m", fmt2.format(0.4857, str)); in TestPerMill() 8391 DecimalFormat fmt2(pattern, sym, status); in TestToPatternScientific11648() local 8707 DecimalFormat fmt2(topattern, status); in Test11649_toPatternWithMultiCurrency() local [all …]
|
D | dtfmttst.cpp | 3599 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("y M d"), Locale("ar"), status); in Test6338() local 3604 str2 = fmt2->format(dt2, str2); in Test6338() 3607 UDate dt22 = fmt2->parse(str2, status); in Test6338() 3611 str22 = fmt2->format(dt22, str22); in Test6338() 3618 delete fmt2; in Test6338()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | JapaneseTest.java | 175 …SimpleDateFormat fmt2 = new SimpleDateFormat("HH:mm:ss.S MMMM d, yyyy G", new ULocale("en_US@calen… in Test3860() local 187 String str = fmt2.format(aDate); in Test3860() 205 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse() local 219 str = fmt2.format(aDate); in Test5345parse()
|
D | ChineseTest.java | 648 DateFormat fmt2 = DateFormat.getDateInstance(ccal2, DateFormat.DEFAULT, ULocale.CHINA); in TestCoverage() local 650 String str2 = fmt2.format(time2); in TestCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | JapaneseTest.java | 179 …SimpleDateFormat fmt2 = new SimpleDateFormat("HH:mm:ss.S MMMM d, yyyy G", new ULocale("en_US@calen… in Test3860() local 191 String str = fmt2.format(aDate); in Test3860() 209 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse() local 223 str = fmt2.format(aDate); in Test5345parse()
|
D | ChineseTest.java | 652 DateFormat fmt2 = DateFormat.getDateInstance(ccal2, DateFormat.DEFAULT, ULocale.CHINA); in TestCoverage() local 654 String str2 = fmt2.format(time2); in TestCoverage()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdattst.c | 1660 UDateFormat* fmt2; in TestOverrideNumberFormat() local 1663 …fmt2 =udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US", zoneGMT, -1, pattern, u_strlen(pattern), &stat… in TestOverrideNumberFormat() 1673 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat() 1682 udat_adoptNumberFormatForFields(fmt2, fields, singleOverrideFmt, &status); in TestOverrideNumberFormat() 1685 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat() 1687 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat() 1689 udat_close(fmt2); in TestOverrideNumberFormat() 1694 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat() 1698 udat_format(fmt2, july022008, ubuf, kUbufMax, NULL, &status); in TestOverrideNumberFormat() 1705 udat_close(fmt2); in TestOverrideNumberFormat()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 33 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 36 expect(fmt2, n, "1.234E+3"); in TestExponent() 39 expect(fmt2, "1.234E+3", n); in TestExponent()
|
D | NumberRegression.java | 999 DecimalFormat fmt2 = new DecimalFormat(buf.toString(), symbols); in Test4122840() local 1006 fmt2.setMaximumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840() 1007 fmt2.setMinimumFractionDigits(fmt1.getMinimumFractionDigits()); in Test4122840() 1008 fmt2.setRoundingIncrement(fmt1.getRoundingIncrement()); in Test4122840() 1010 String result2 = fmt2.format(1.111); in Test4122840()
|
D | NumberFormatTest.java | 1405 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 1408 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2080 DecimalFormat fmt2 = new DecimalFormat("", sym); in TestPerMill() local 2081 fmt2.applyLocalizedPattern("###.###m"); in TestPerMill() 2083 "485.7m", fmt2.format(0.4857)); in TestPerMill() 3756 DecimalFormat fmt2 = (DecimalFormat)fmt1.clone(); in TestFormatToCharacterIteratorThread() local 3762 Thread t2 = new Thread(new FormatCharItrTestThread(fmt2, 100, res2)); in TestFormatToCharacterIteratorThread() 4275 DecimalFormat fmt2 = null; 4277 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"), 4279 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH); [all …]
|
D | RbnfTest.java | 122 RuleBasedNumberFormat fmt2 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local 129 if (!fmt0.equals(fmt2)) { in TestCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 37 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 40 expect(fmt2, n, "1.234E+3"); in TestExponent() 43 expect(fmt2, "1.234E+3", n); in TestExponent()
|
D | NumberRegression.java | 1003 DecimalFormat fmt2 = new DecimalFormat(buf.toString(), symbols); in Test4122840() local 1010 fmt2.setMaximumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840() 1011 fmt2.setMinimumFractionDigits(fmt1.getMinimumFractionDigits()); in Test4122840() 1012 fmt2.setRoundingIncrement(fmt1.getRoundingIncrement()); in Test4122840() 1014 String result2 = fmt2.format(1.111); in Test4122840()
|
D | NumberFormatTest.java | 1409 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 1412 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2084 DecimalFormat fmt2 = new DecimalFormat("", sym); in TestPerMill() local 2085 fmt2.applyLocalizedPattern("###.###m"); in TestPerMill() 2087 "485.7m", fmt2.format(0.4857)); in TestPerMill() 3760 DecimalFormat fmt2 = (DecimalFormat)fmt1.clone(); in TestFormatToCharacterIteratorThread() local 3766 Thread t2 = new Thread(new FormatCharItrTestThread(fmt2, 100, res2)); in TestFormatToCharacterIteratorThread() 4279 DecimalFormat fmt2 = null; 4281 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"), 4283 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH); [all …]
|
D | RbnfTest.java | 126 RuleBasedNumberFormat fmt2 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local 133 if (!fmt0.equals(fmt2)) { in TestCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 849 DateFormat fmt2 = new SimpleDateFormat("z"); in Test4176686() local 850 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 878 "DateFormat.format(std)/dst zone", fmt2.format(std), "GMT+1:30", in Test4176686() 879 "DateFormat.format(dst)/dst zone", fmt2.format(dst), "GMT+2:15", in Test4176686()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 845 DateFormat fmt2 = new SimpleDateFormat("z"); in Test4176686() local 846 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 874 "DateFormat.format(std)/dst zone", fmt2.format(std), "GMT+1:30", in Test4176686() 875 "DateFormat.format(dst)/dst zone", fmt2.format(dst), "GMT+2:15", in Test4176686()
|