/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 | 220 df.applyPattern(null); in testBug15081434() 226 df.applyPattern(null); in testBug15081434()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 391 format.applyPattern("xx {0}"); in test_applyPatternLjava_lang_String() 400 format.applyPattern("nothing"); in test_applyPatternLjava_lang_String() 403 format.applyPattern("{0}"); in test_applyPatternLjava_lang_String() 407 format.applyPattern("{0, \t\u001ftime }"); in test_applyPatternLjava_lang_String() 411 format.applyPattern("{0,Time, Short\n}"); in test_applyPatternLjava_lang_String() 416 format.applyPattern("{0,TIME,\nmedium }"); in test_applyPatternLjava_lang_String() 421 format.applyPattern("{0,time,LONG}"); in test_applyPatternLjava_lang_String() 428 format.applyPattern("{0,time, Full}"); in test_applyPatternLjava_lang_String() 436 format.applyPattern("{0, date}"); in test_applyPatternLjava_lang_String() 440 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 | 793 format1.applyPattern("'$'1000.0000"); in testConstructor_noArg() 795 format2.applyPattern("'$'1000.0000"); in testConstructor_noArg() 813 format1.applyPattern("'$'0000.0000"); in testConstructor_string() 853 format2.applyPattern("'$'1000.0000"); in testConstructor_stringAndSymbols() 906 format.applyPattern("00.0#"); in test_applyPattern() 912 format.applyPattern(null); in test_applyPattern() 918 format.applyPattern("%#,##,###,####'"); in test_applyPattern() 924 format.applyPattern("#.##0.00"); in test_applyPattern() 954 decFormat.applyPattern(patterns[i]); in test_applyPattern_icu2GroupingSizes() 992 format.applyPattern("#.#"); in test_toPattern() [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 176 public void applyPattern(String newPattern) { in applyPattern() method in ChoiceFormat 316 applyPattern(newPattern); in ChoiceFormat()
|
D | MessageFormat.java | 363 applyPattern(pattern); in MessageFormat() 381 applyPattern(pattern); in MessageFormat() 426 public void applyPattern(String pattern) { in applyPattern() method in MessageFormat
|
D | DecimalFormat.java | 3538 public void applyPattern(String pattern) { in applyPattern() method in DecimalFormat 3541 icuDecimalFormat.applyPattern(pattern); in applyPattern()
|
D | SimpleDateFormat.java | 2887 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.#");
|