HomeSort by relevance Sort by last modified time
    Searched refs:applyPattern (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /libcore/luni/src/test/java/libcore/java/text/
OldDecimalFormatTestICU.java 43 format.applyPattern("@@@");
47 format.applyPattern("@@##");
51 format.applyPattern("@@###E0");
53 format.applyPattern("0.0###E0");
57 format.applyPattern("@00");
65 format.applyPattern("@.###");
75 format.applyPattern("*x##,##,#,##0.0#");
79 format.applyPattern("$*x#,##0.00");
83 format.applyPattern("*\u00e7#0 o''clock");
90 format.applyPattern("#0.##*xE0")
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
SelectFormatUnitTest.java 46 selFmt.applyPattern(checkSyntaxData[i]);
56 selFmt.applyPattern("odd{foo} odd{bar} other{foobar}");
58 selFmt.applyPattern("odd{foo} other{bar} other{foobar}");
99 * API tests for applyPattern and format
140 log("SelectFormat Unit test: Testing applyPattern() and format() ...");
145 selFmt.applyPattern(patternTestData[i]);
PluralFormatUnitTest.java 45 plFmts[0].applyPattern("other{#}");
47 plFmts[1].applyPattern("other{#}");
51 plFmts[4].applyPattern("other{#}");
53 plFmts[5].applyPattern("other{#}");
61 plFmts[8].applyPattern("other{#}");
63 plFmts[9].applyPattern("other{#}");
107 plfOddAndEven.applyPattern("odd{# is odd.} other{# is even.}");
111 plfOddOrEven.applyPattern("other{# is odd or even.}");
129 pf.applyPattern("odd{foo} other{bar} other{foobar}");
132 pf.applyPattern("other{foo} odd{bar} other{foobar}")
    [all...]
DateFormatRegressionTestJ.java 73 aSimpleDF.applyPattern( ISOPattern[i] );
161 aSimpleDF.applyPattern(ISOPattern[i]);
190 sdf.applyPattern("MM d y");
192 sdf.applyPattern("MM d yy");
195 sdf.applyPattern("MM d yyy");
198 sdf.applyPattern("MM d yyyy");
201 sdf.applyPattern("MM d yyyyy");
ScientificNumberFormatterTest.java 55 decfmt.applyPattern("0.00E+0");
69 decfmt.applyPattern("0.00E+0");
SelectFormatAPITest.java 67 * API tests for applyPattern() method
74 //Check for applyPattern/toPattern
76 selFmt.applyPattern(pattern);
77 assertEquals("Failed in applyPattern,toPattern with unexpected output"
83 selFmt.applyPattern(brokenPattern);
84 errln("Failed in applyPattern. applyPattern should throw IllegalArgumentException for " + brokenPattern);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
SelectFormatUnitTest.java 45 selFmt.applyPattern(checkSyntaxData[i]);
55 selFmt.applyPattern("odd{foo} odd{bar} other{foobar}");
57 selFmt.applyPattern("odd{foo} other{bar} other{foobar}");
98 * API tests for applyPattern and format
139 log("SelectFormat Unit test: Testing applyPattern() and format() ...");
144 selFmt.applyPattern(patternTestData[i]);
PluralFormatUnitTest.java 44 plFmts[0].applyPattern("other{#}");
46 plFmts[1].applyPattern("other{#}");
50 plFmts[4].applyPattern("other{#}");
52 plFmts[5].applyPattern("other{#}");
60 plFmts[8].applyPattern("other{#}");
62 plFmts[9].applyPattern("other{#}");
106 plfOddAndEven.applyPattern("odd{# is odd.} other{# is even.}");
110 plfOddOrEven.applyPattern("other{# is odd or even.}");
128 pf.applyPattern("odd{foo} other{bar} other{foobar}");
131 pf.applyPattern("other{foo} odd{bar} other{foobar}")
    [all...]
DateFormatRegressionTestJ.java 72 aSimpleDF.applyPattern( ISOPattern[i] );
160 aSimpleDF.applyPattern(ISOPattern[i]);
189 sdf.applyPattern("MM d y");
191 sdf.applyPattern("MM d yy");
194 sdf.applyPattern("MM d yyy");
197 sdf.applyPattern("MM d yyyy");
200 sdf.applyPattern("MM d yyyyy");
ScientificNumberFormatterTest.java 54 decfmt.applyPattern("0.00E+0");
68 decfmt.applyPattern("0.00E+0");
SelectFormatAPITest.java 66 * API tests for applyPattern() method
73 //Check for applyPattern/toPattern
75 selFmt.applyPattern(pattern);
76 assertEquals("Failed in applyPattern,toPattern with unexpected output"
82 selFmt.applyPattern(brokenPattern);
83 errln("Failed in applyPattern. applyPattern should throw IllegalArgumentException for " + brokenPattern);
  /external/proguard/src/proguard/gui/
GUIResources.java 53 formatter.applyPattern(messages.getString(messageKey));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
MessageFormatTest.java 391 format.applyPattern("xx {0}");
400 format.applyPattern("nothing");
403 format.applyPattern("{0}");
407 format.applyPattern("{0, \t\u001ftime }");
411 format.applyPattern("{0,Time, Short\n}");
416 format.applyPattern("{0,TIME,\nmedium }");
421 format.applyPattern("{0,time,LONG}");
428 format.applyPattern("{0,time, Full}");
436 format.applyPattern("{0, date}");
440 format.applyPattern("{0, date, short}")
    [all...]
ChoiceFormatTest.java 138 * @tests java.text.ChoiceFormat#applyPattern(java.lang.String)
142 // java.text.ChoiceFormat.applyPattern(java.lang.String)
144 f.applyPattern("0#0|1#1");
156 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1");
164 f.applyPattern("-1#is negative|0#is zero or fraction|-1#is one|1<is more than 1");
172 f.applyPattern("-1is negative|0#is zero or fraction|1#is one|1<is more than 1");
179 f.applyPattern("-1<is negative|0#is zero or fraction|1#is one|1<is more than 1");
187 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1");
189 f.applyPattern(str);
394 cf.applyPattern(str)
    [all...]
  /external/icu/icu4c/source/test/intltest/
simpleformattertest.cpp 95 fmt.applyPattern("{12d", status);
102 fmt.applyPattern("{0} meter", status);
153 fmt.applyPattern(
223 r.applyPattern("{0} meter", status);
227 "Replace with new applyPattern",
230 r.applyPattern("{0}, {1}", status);
237 r.applyPattern("{0}, {1} and {2}", status);
341 fmt.applyPattern("{2}, {0}, {1} and {3}", status);
371 fmt.applyPattern("boo {2}, {0}, {1} and {3}", status);
401 fmt.applyPattern("{2}, {0}, {1} and {3}", status)
    [all...]
selfmts.cpp 109 selFmt->applyPattern(checkSyntaxData[i], status);
117 selFmt->applyPattern("odd{foo} odd{bar} other{foobar}", status);
123 selFmt->applyPattern("odd{foo} other{bar} other{foobar}", status);
140 logln("SelectFormat Unit test: Testing applyPattern() and format() ...");
146 selFmt->applyPattern(patternTestData[i], status);
279 // ======= Test applyPattern() and toPattern()
280 logln("SelectFormat API test: Testing applyPattern() and toPattern() ...");
283 selFmt1->applyPattern( pattern, status1);
285 errln("ERROR: SelectFormat API test failed in applyPattern() with pattern: "+ pattern);
  /external/icu/icu4c/source/common/
uniset_closure.cpp 64 applyPattern(pattern, options, symbols, status);
85 applyPattern(pattern, pos, options, symbols, status);
95 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern,
100 applyPattern(pattern, pos, options, symbols, status);
116 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern,
132 applyPattern(chars, symbols, rebuiltPat, options, &UnicodeSet::closeOver, status);
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ISO8601Converter.java 322 df.applyPattern("'-'00");
341 df.applyPattern("00");
351 df.applyPattern(":00.#########");
370 df.applyPattern("+00;-00");
372 df.applyPattern(":00");
  /external/icu/android_icu4j/src/main/java/android/icu/text/
SelectFormat.java 170 applyPattern(pattern);
190 public void applyPattern(String pattern) {
372 applyPattern(pattern);
PluralFormat.java 74 * <code>applyPattern()</code> method. The <code>format()</code>
278 applyPattern(pattern);
295 applyPattern(pattern);
310 applyPattern(pattern);
326 applyPattern(pattern);
341 applyPattern(pattern);
357 applyPattern(pattern);
398 public void applyPattern(String pattern) {
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
SelectFormat.java 172 applyPattern(pattern);
193 public void applyPattern(String pattern) {
382 applyPattern(pattern);
PluralFormat.java 73 * <code>applyPattern()</code> method. The <code>format()</code>
287 applyPattern(pattern);
305 applyPattern(pattern);
321 applyPattern(pattern);
338 applyPattern(pattern);
354 applyPattern(pattern);
370 applyPattern(pattern);
412 public void applyPattern(String pattern) {
    [all...]
  /external/messageformat/java/com/ibm/icu/text/
SelectFormat.java 171 applyPattern(pattern);
192 public void applyPattern(String pattern) {
381 applyPattern(pattern);
  /external/icu/icu4c/source/common/unicode/
simpleformatter.h 72 applyPattern(pattern, errorCode);
123 UBool applyPattern(const UnicodeString &pattern, UErrorCode &errorCode) {
  /external/icu/icu4c/source/i18n/unicode/
choicfmt.h 271 virtual void applyPattern(const UnicodeString& pattern,
284 virtual void applyPattern(const UnicodeString& pattern,

Completed in 1457 milliseconds

1 2 3 4 5 6 7 8 9