Home
last modified time | relevance | path

Searched refs:formatParser (Results 1 – 8 of 8) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java64 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser(); field in CheckDates
554 formatParser.set(value); in handleCheck()
1087 List<Object> items1 = new ArrayList<Object>(formatParser.set(value1).getItems()); // clone in equalsExceptWidth()
1088 List<Object> items2 = formatParser.set(value2).getItems(); in equalsExceptWidth()
1121 …static DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatPar…
1124 formatParser.set(value);
1126 for (Object x : formatParser.getItems()) {
1179 public String toString(DateTimePatternGenerator.FormatParser formatParser) {
1181 for (Object x : formatParser.getItems()) {
1185 result.append(formatParser.quoteLiteral(x.toString()));
DCheckForExemplars.java109 …private DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatPa… field in CheckForExemplars
634 formatParser.set(value); in extractDatePatternText()
640 for (Object item : formatParser.getItems()) { in extractDatePatternText()
DExampleGenerator.java887 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser(); field in ExampleGenerator.IntervalFormat
899 formatParser.set(pattern); in setPattern()
905 for (Object item : formatParser.getItems()) { in setPattern()
920 first.append(formatParser.quoteLiteral((String) item)); in setPattern()
922 second.append(formatParser.quoteLiteral((String) item)); in setPattern()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DCheckYear.java47 …static DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatPar… field in CheckYear
180 for (Object item : formatParser.set(minimizedPattern).getItems()) {
182 Object quoteLiteral = formatParser.quoteLiteral(item
209 for (Object item : formatParser.set(intervalPattern).getItems()) {
211 Object quoteLiteral = formatParser.quoteLiteral(item
/external/cldr/tools/java/org/unicode/cldr/util/
DLenientDateParser.java793 FormatParser formatParser = new FormatParser();
801 …aratorInfo((SimpleDateFormat) DateFormat.getDateInstance(style, locale), formatParser, beforeTypes,
803 …aratorInfo((SimpleDateFormat) DateFormat.getTimeInstance(style, locale), formatParser, beforeTypes,
1117 private static void addSeparatorInfo(SimpleDateFormat d, FormatParser formatParser,
1124 formatParser.set(pattern);
1125 List<Object> list = formatParser.getItems();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java761 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser (); field in DateTimeGeneratorTest
783 final List itemList = formatParser.set(pattern).getItems(); in replaceZoneString()
797 return changed ? formatParser.toString() : pattern; in replaceZoneString()
801 for (Iterator it = formatParser.set(pattern).getItems().iterator(); it.hasNext();) { in containsZone()
835 for (Iterator it = formatParser.set(pattern).getItems().iterator(); it.hasNext();) { in getOrdering()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java758 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser (); field in DateTimeGeneratorTest
780 final List itemList = formatParser.set(pattern).getItems(); in replaceZoneString()
794 return changed ? formatParser.toString() : pattern; in replaceZoneString()
798 for (Iterator it = formatParser.set(pattern).getItems().iterator(); it.hasNext();) { in containsZone()
832 for (Iterator it = formatParser.set(pattern).getItems().iterator(); it.hasNext();) { in getOrdering()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java1814 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser();
1827 List<Object> list = formatParser.set(value).getItems();
1872 List<Object> items = formatParser.getItems();
1876 result.append(formatParser.quoteLiteral((String) items.get(i)));
1890 … DateTimePatternGenerator.FormatParser formatParser = new DateTimePatternGenerator.FormatParser();