Home
last modified time | relevance | path

Searched refs:parseText (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java137 parseText(zids, locale, TextStyle.FULL, false); in test_ParseText()
138 parseText(zids, locale, TextStyle.FULL, true); in test_ParseText()
139 parseText(zids, locale, TextStyle.SHORT, false); in test_ParseText()
140 parseText(zids, locale, TextStyle.SHORT, true); in test_ParseText()
208 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText() method in TestZoneTextPrinterParser
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3119 public int parse(DateTimeParseContext context, CharSequence parseText, int position) { in parse() argument
3120 int length = parseText.length(); in parse()
3136 … if (context.subSequenceEquals(itText, 0, parseText, position, itText.length())) { in parse()
3144 return numberPrinterParser().parse(context, parseText, position); in parse()
3424 …private boolean parseNumber(int[] array, int arrayIndex, CharSequence parseText, boolean required)… in parseNumber() argument
3430 if (pos + 1 > parseText.length() || parseText.charAt(pos) != ':') { in parseNumber()
3435 if (pos + 2 > parseText.length()) { in parseNumber()
3438 char ch1 = parseText.charAt(pos++); in parseNumber()
3439 char ch2 = parseText.charAt(pos++); in parseNumber()