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.java172 parseText(zids, locale, TextStyle.FULL, false); in test_ParseText()
173 parseText(zids, locale, TextStyle.FULL, true); in test_ParseText()
174 parseText(zids, locale, TextStyle.SHORT, false); in test_ParseText()
175 parseText(zids, locale, TextStyle.SHORT, true); in test_ParseText()
252 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.java3417 public int parse(DateTimeParseContext context, CharSequence parseText, int position) { in parse() argument
3418 int length = parseText.length(); in parse()
3434 … if (context.subSequenceEquals(itText, 0, parseText, position, itText.length())) { in parse()
3443 … if (context.subSequenceEquals(name, 0, parseText, position, name.length())) { in parse()
3452 return numberPrinterParser().parse(context, parseText, position); in parse()
3818 private void parseHour(CharSequence parseText, boolean paddedHour, int[] array) { in parseHour() argument
3821 if (!parseDigits(parseText, false, 1, array)) { in parseHour()
3826 parseVariableWidthDigits(parseText, 1, 2, array); in parseHour()
3830 …private void parseMinute(CharSequence parseText, boolean isColon, boolean mandatory, int[] array) { in parseMinute() argument
3831 if (!parseDigits(parseText, isColon, 2, array)) { in parseMinute()
[all …]