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

1 2

  /libcore/ojluni/src/main/java/java/text/
ChoiceFormat.java 174 * @param newPattern See the class description.
176 public void applyPattern(String newPattern) {
188 for (int i = 0; i < newPattern.length(); ++i) {
189 char ch = newPattern.charAt(i);
192 if ((i+1)<newPattern.length() && newPattern.charAt(i+1)==ch) {
310 public ChoiceFormat(String newPattern) {
311 applyPattern(newPattern);
  /external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 162 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
164 format.applyPattern(newPattern);
166 System.out.println(newPattern);
  /external/icu/icu4c/source/samples/dtptngsample/
dtptngsample.cpp 140 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status);
142 sdf->applyPattern(newPattern);
146 u_fprintf(out, "%S\n", newPattern.getTerminatedBuffer());
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 161 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
163 format.applyPattern(newPattern);
165 System.out.println(newPattern);
  /external/icu/icu4c/source/i18n/
selfmt.cpp 57 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) {
62 msgPattern.parseSelectStyle(newPattern, NULL, status);
choicfmt.cpp 75 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern,
80 applyPattern(newPattern, status);
123 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern,
129 applyPattern(newPattern,parseError, status);
plurfmt.cpp 191 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) {
192 msgPattern.parsePluralStyle(newPattern, NULL, status);
dtptngen.cpp     [all...]
msgfmt.cpp 470 MessageFormat::applyPattern(const UnicodeString& newPattern,
474 applyPattern(newPattern,parseError,status);
    [all...]
  /libcore/ojluni/src/main/java/java/util/regex/
Matcher.java 208 * @param newPattern
212 * If newPattern is <tt>null</tt>
215 public Matcher usePattern(Pattern newPattern) {
216 if (newPattern == null) {
217 throw new IllegalArgumentException("newPattern == null");
220 this.pattern = newPattern;
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
choicfmt.h 482 * @param newPattern Pattern used to construct object.
488 ChoiceFormat(const UnicodeString& newPattern,
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateTimePatternGenerator.java     [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateTimeGeneratorTest.java 85 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
86 format.applyPattern(newPattern);
544 String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV");
545 if (newPattern.equals(pattern)) {
549 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]);
556 errln("Failed parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted.substring(0,parsePosition.getErrorIndex()) + "{}" + formatted.substring(parsePosition.getErrorIndex()) + "\"");
558 errln("Failed timezone roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted + "\",\t" + calendar.getTimeZone().getID() + " != " + testTimeZone.getID());
560 logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateTimePatternGenerator.java     [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateTimeGeneratorTest.java 81 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
82 format.applyPattern(newPattern);
540 String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV");
541 if (newPattern.equals(pattern)) {
545 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]);
552 errln("Failed parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted.substring(0,parsePosition.getErrorIndex()) + "{}" + formatted.substring(parsePosition.getErrorIndex()) + "\"");
554 errln("Failed timezone roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted + "\",\t" + calendar.getTimeZone().getID() + " != " + testTimeZone.getID());
556 logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted);
    [all...]
  /external/icu/icu4c/source/test/intltest/
dtptngts.cpp 473 UnicodeString newPattern = gen->replaceFieldTypes(pattern, UnicodeString("vvvv"), status);
474 format->applyPattern(newPattern);
    [all...]
  /frameworks/base/media/java/android/media/
MediaCodec.java     [all...]
  /prebuilts/tools/common/m2/repository/org/anarres/jarjar/jarjar-core/1.0.0/
jarjar-core-1.0.0.jar 
  /external/guice/lib/build/
spring-core.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /external/guice/extensions/struts2/lib/
struts2-core-2.2.1.jar 
  /external/libgdx/backends/gdx-backend-moe/libs/
intel-moe-core.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 

Completed in 1076 milliseconds

1 2