Home
last modified time | relevance | path

Searched refs:newPattern (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java163 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in replaceFieldTypesExample() local
165 format.applyPattern(newPattern); in replaceFieldTypesExample()
167 System.out.println(newPattern); in replaceFieldTypesExample()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java164 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in replaceFieldTypesExample() local
166 format.applyPattern(newPattern); in replaceFieldTypesExample()
168 System.out.println(newPattern); in replaceFieldTypesExample()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp143 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status); in replaceFieldTypesExample() local
145 sdf->applyPattern(newPattern); in replaceFieldTypesExample()
149 u_fprintf(out, "%S\n", newPattern.getTerminatedBuffer()); in replaceFieldTypesExample()
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() argument
82 applyPattern(newPattern, status); in ChoiceFormat()
125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() argument
131 applyPattern(newPattern,parseError, status); in ChoiceFormat()
Dselfmt.cpp59 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument
64 msgPattern.parseSelectStyle(newPattern, NULL, status); in applyPattern()
Dplurfmt.cpp196 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument
197 msgPattern.parsePluralStyle(newPattern, NULL, status); in applyPattern()
Ddtptngen.cpp1465 UnicodeString newPattern; in adjustFieldTypes() local
1473 newPattern += quoteLiteral; in adjustFieldTypes()
1477 newPattern+=field; in adjustFieldTypes()
1482 newPattern+=field; in adjustFieldTypes()
1548 newPattern+=field; in adjustFieldTypes()
1551 return newPattern; in adjustFieldTypes()
Dmsgfmt.cpp473 MessageFormat::applyPattern(const UnicodeString& newPattern, in applyPattern() argument
477 applyPattern(newPattern,parseError,status); in applyPattern()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java175 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in TestSimple() local
176 format.applyPattern(newPattern); in TestSimple()
641 …String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV… in TestReplacingZoneString() local
642 if (newPattern.equals(pattern)) { in TestReplacingZoneString()
646 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]); in TestReplacingZoneString()
653 …led parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
655 …roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
657 … logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted); in TestReplacingZoneString()
DNumberFormatTest.java5194 String newPattern = fmt.toPattern();
5195 assertEquals("Should produce a valid pattern", pattern, newPattern);
5197 DecimalFormat fmt2 = new DecimalFormat(newPattern);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java178 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in TestSimple() local
179 format.applyPattern(newPattern); in TestSimple()
644 …String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV… in TestReplacingZoneString() local
645 if (newPattern.equals(pattern)) { in TestReplacingZoneString()
649 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]); in TestReplacingZoneString()
656 …led parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
658 …roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
660 … logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted); in TestReplacingZoneString()
DNumberFormatTest.java5197 String newPattern = fmt.toPattern();
5198 assertEquals("Should produce a valid pattern", pattern, newPattern);
5200 DecimalFormat fmt2 = new DecimalFormat(newPattern);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java2040 StringBuilder newPattern = new StringBuilder(); in adjustFieldTypes() local
2043 newPattern.append(fp.quoteLiteral((String)item)); in adjustFieldTypes()
2119 newPattern.append(fieldBuilder); in adjustFieldTypes()
2123 return newPattern.toString(); in adjustFieldTypes()
2144 StringBuilder newPattern = new StringBuilder(); in getFields() local
2147 newPattern.append(fp.quoteLiteral((String)item)); in getFields()
2149 newPattern.append("{" + getName(item.toString()) + "}"); in getFields()
2152 return newPattern.toString(); in getFields()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java2016 StringBuilder newPattern = new StringBuilder(); in adjustFieldTypes() local
2019 newPattern.append(fp.quoteLiteral((String)item)); in adjustFieldTypes()
2095 newPattern.append(fieldBuilder); in adjustFieldTypes()
2099 return newPattern.toString(); in adjustFieldTypes()
2121 StringBuilder newPattern = new StringBuilder(); in getFields() local
2124 newPattern.append(fp.quoteLiteral((String)item)); in getFields()
2126 newPattern.append("{" + getName(item.toString()) + "}"); in getFields()
2129 return newPattern.toString(); in getFields()
/external/icu/icu4c/source/i18n/unicode/
Dchoicfmt.h490 ChoiceFormat(const UnicodeString& newPattern,
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp491 UnicodeString newPattern = gen->replaceFieldTypes(pattern, UnicodeString("vvvv"), status); in testAPI() local
492 format->applyPattern(newPattern); in testAPI()
/external/guice/lib/build/
Dspring-core.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/ ...
/external/guice/extensions/struts2/lib/
Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...