/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatTestICU.java | 43 format.applyPattern("@@@"); in test_sigDigitPatterns() 47 format.applyPattern("@@##"); in test_sigDigitPatterns() 51 format.applyPattern("@@###E0"); in test_sigDigitPatterns() 53 format.applyPattern("0.0###E0"); in test_sigDigitPatterns() 57 format.applyPattern("@00"); in test_sigDigitPatterns() 67 format.applyPattern("*x##,##,#,##0.0#"); in test_paddingPattern() 71 format.applyPattern("$*x#,##0.00"); in test_paddingPattern() 75 format.applyPattern("*\u00e7#0 o''clock"); in test_paddingPattern() 82 format.applyPattern("#0.##*xE0"); in test_paddingPattern() 90 format.applyPattern("##0.## *"); in test_paddingPattern() [all …]
|
D | DecimalFormatTest.java | 133 milledf.applyPattern("#,##0\u2030;-#,##0\u2030"); in testFieldPosition() 135 scientificDf.applyPattern("0.###E0"); in testFieldPosition() 330 df.applyPattern(null); in testBug15081434() 336 df.applyPattern(null); in testBug15081434()
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | BigDecimalFormat.java | 110 ((DecimalFormat)nf).applyPattern("#,##0.###"); in test_Format_in_NumberFormat_BigDecimal() 273 ((DecimalFormat)nf).applyPattern("#,##0.0"); in test_Format_in_NumberFormat_BigDecimal() 306 ((DecimalFormat)nf).applyPattern("0.###E0"); in test_Format_in_NumberFormat_BigDecimal() 332 ((DecimalFormat)nf).applyPattern("0.###E0"); in test_Format_in_NumberFormat_BigDecimal() 424 ((DecimalFormat)nf).applyPattern("#,##0.###"); in test_Format_in_NumberFormat_BigDecimal() 435 ((DecimalFormat)nf).applyPattern("#,##0.###"); in test_Format_in_NumberFormat_BigDecimal() 450 ((DecimalFormat)nf).applyPattern("00000.###E0"); in test_Format_in_NumberFormat_BigDecimal() 463 ((DecimalFormat)nf).applyPattern("0.###E0"); in test_Format_in_NumberFormat_BigDecimal() 476 ((DecimalFormat)nf).applyPattern("0.###E0"); in test_Format_in_NumberFormat_BigDecimal() 489 ((DecimalFormat)nf).applyPattern("0.###E0"); in test_Format_in_NumberFormat_BigDecimal() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 392 format.applyPattern("xx {0}"); in test_applyPatternLjava_lang_String() 401 format.applyPattern("nothing"); in test_applyPatternLjava_lang_String() 404 format.applyPattern("{0}"); in test_applyPatternLjava_lang_String() 408 format.applyPattern("{0, \t\u001ftime }"); in test_applyPatternLjava_lang_String() 412 format.applyPattern("{0,Time, Short\n}"); in test_applyPatternLjava_lang_String() 417 format.applyPattern("{0,TIME,\nmedium }"); in test_applyPatternLjava_lang_String() 422 format.applyPattern("{0,time,LONG}"); in test_applyPatternLjava_lang_String() 429 format.applyPattern("{0,time, Full}"); in test_applyPatternLjava_lang_String() 437 format.applyPattern("{0, date}"); in test_applyPatternLjava_lang_String() 441 format.applyPattern("{0, date, short}"); in test_applyPatternLjava_lang_String() [all …]
|
D | ChoiceFormatTest.java | 144 f.applyPattern("0#0|1#1"); in test_applyPatternLjava_lang_String() 156 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 164 f.applyPattern("-1#is negative|0#is zero or fraction|-1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 172 f.applyPattern("-1is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 179 f.applyPattern("-1<is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 187 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 189 f.applyPattern(str); in test_applyPatternLjava_lang_String() 394 cf.applyPattern(str); in test_toPattern()
|
D | Support_SimpleDateFormat.java | 58 format.applyPattern("G GGGG y yy yyyy M MM MMM MMMM d dd ddd " + in t_format_with_FieldPosition() 98 format.applyPattern("h:m z"); in t_format_with_FieldPosition() 125 format.applyPattern("h:m Z z"); in t_format_with_FieldPosition() 141 format.applyPattern("yyyyMMddHHmmss"); in t_formatToCharacterIterator() 144 format.applyPattern("w W dd MMMM yyyy EEEE"); in t_formatToCharacterIterator() 147 format.applyPattern("h:m z"); in t_formatToCharacterIterator() 150 format.applyPattern("h:m Z"); in t_formatToCharacterIterator() 154 …format.applyPattern("G GGGG y yy yyyy M MM MMM MMMM d dd ddd k kk kkk H HH HHH h hh hhh m mmm s ss… in t_formatToCharacterIterator()
|
D | SimpleDateFormatTest.java | 159 f2.applyPattern("GyMdkHmsSEDFwWahKz"); in test_applyPatternLjava_lang_String() 164 f2.applyPattern("j"); in test_applyPatternLjava_lang_String() 176 f2.applyPattern("a '"); in test_applyPatternLjava_lang_String() 182 f2.applyPattern(null); in test_applyPatternLjava_lang_String() 193 clone.applyPattern("y"); in test_clone() 382 format.applyPattern("'Mkz''':.@5"); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 398 format.applyPattern(pattern); in assertFormat() 497 format.applyPattern("z, zzzz"); in verifyFormatTimezone() 500 format.applyPattern("Z, ZZZZ"); in verifyFormatTimezone() 841 f1.applyPattern("y"); in test_set2DigitYearStartLjava_util_Date() [all …]
|
D | DecimalFormatTest.java | 794 format1.applyPattern("'$'1000.0000"); in testConstructor_noArg() 796 format2.applyPattern("'$'1000.0000"); in testConstructor_noArg() 814 format1.applyPattern("'$'0000.0000"); in testConstructor_string() 854 format2.applyPattern("'$'1000.0000"); in testConstructor_stringAndSymbols() 907 format.applyPattern("00.0#"); in test_applyPattern() 913 format.applyPattern(null); in test_applyPattern() 919 format.applyPattern("%#,##,###,####'"); in test_applyPattern() 925 format.applyPattern("#.##0.00"); in test_applyPattern() 955 decFormat.applyPattern(patterns[i]); in test_applyPattern_icu2GroupingSizes() 993 format.applyPattern("#.#"); in test_toPattern() [all …]
|
/libcore/ojluni/src/test/java/text/Format/DateFormat/ |
D | SimpleDateFormatPatternTest.java | 192 new SimpleDateFormat().applyPattern(pattern); in testIllegalArgumentException4() 202 new SimpleDateFormat().applyPattern(pattern); in testIllegalArgumentException_enUS() 236 new SimpleDateFormat().applyPattern(null); in testNullPointerException4() 248 new SimpleDateFormat().applyPattern(pattern); in testValidPattern() 258 new SimpleDateFormat().applyPattern(pattern); in testValidPattern_enUS()
|
/libcore/ojluni/src/test/java/text/Format/MessageFormat/ |
D | MessageRegression.java | 84 messageFormatter.applyPattern(pattern[1]); in Test4074764() 92 messageFormatter.applyPattern(pattern[0]); in Test4074764() 143 messageFormatter.applyPattern(pattern1); in Test4031438() 164 messageFormatter.applyPattern(pattern2); in Test4031438() 306 mf.applyPattern(illegalPattern); in Test4114743() 324 mf.applyPattern(pattern); in Test4116444() 384 mf.applyPattern(illegalPattern); in Test4113018() 440 mf.applyPattern(prefix + pattern); in Test4118592() 462 mf.applyPattern("{0,number,#.##}, {0,number,#.#}"); in Test4118594()
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 180 public void applyPattern(String newPattern) { in applyPattern() method in ChoiceFormat 321 applyPattern(newPattern); in ChoiceFormat()
|
D | MessageFormat.java | 372 applyPattern(pattern); in MessageFormat() 392 applyPattern(pattern); in MessageFormat() 439 public void applyPattern(String pattern) { in applyPattern() method in MessageFormat
|
D | DecimalFormat.java | 3723 public void applyPattern(String pattern) { in applyPattern() method in DecimalFormat 3726 icuDecimalFormat.applyPattern(pattern); in applyPattern()
|
D | SimpleDateFormat.java | 2922 public void applyPattern(String pattern) in applyPattern() method
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | DecimalFormatBenchmark.java | 38 patternInstance.applyPattern(pattern); in format()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 189 ((java.text.DecimalFormat) NUMBERFORM).applyPattern("#0.#");
|
/libcore/api/ |
D | current.txt | 10960 method public void applyPattern(String); 11128 method public void applyPattern(String); 11225 method public void applyPattern(String); 11345 method public void applyPattern(String);
|