Home
last modified time | relevance | path

Searched defs:parsed (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneOffsetParser.java100 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "Z").parseUnresolved("Z", pos); in test_parse_exactMatch_UTC() local
107 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "Z").parseUnresolved("ZOTHER", pos); in test_parse_startStringMatch_UTC() local
114 … TemporalAccessor parsed = getFormatter("+HH:MM:ss", "Z").parseUnresolved("OTHERZOTHER", pos); in test_parse_midStringMatch_UTC() local
121 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "Z").parseUnresolved("OTHERZ", pos); in test_parse_endStringMatch_UTC() local
129 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "").parseUnresolved("", pos); in test_parse_exactMatch_UTC_EmptyUTC() local
136 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "").parseUnresolved("OTHER", pos); in test_parse_startStringMatch_UTC_EmptyUTC() local
143 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "").parseUnresolved("OTHEROTHER", pos); in test_parse_midStringMatch_UTC_EmptyUTC() local
150 TemporalAccessor parsed = getFormatter("+HH:MM:ss", "").parseUnresolved("OTHER", pos); in test_parse_endStringMatch_UTC_EmptyUTC() local
234 TemporalAccessor parsed = getFormatter(pattern, "Z").parseUnresolved(parse, pos); in test_parse_exactMatch() local
242 TemporalAccessor parsed = getFormatter(pattern, "Z").parseUnresolved(parse + ":OTHER", pos); in test_parse_startStringMatch() local
[all …]
DTestReducedParser.java132 TemporalAccessor parsed = getFormatter0(DAY_OF_YEAR, 3, 10).parseUnresolved("456", pos); in test_parse_fieldRangeIgnored() local
189 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllStrict() local
203 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllLenient() local
276 …TemporalAccessor parsed = getFormatter0(field, minWidth, maxWidth, baseValue).parseUnresolved(inpu… in test_parseStrict() local
291 …TemporalAccessor parsed = getFormatterBaseDate(field, minWidth, maxWidth, baseValue).parseUnresolv… in test_parseStrict_baseDate() local
309 …TemporalAccessor parsed = getFormatter0(field, minWidth, maxWidth, baseValue).parseUnresolved(inpu… in test_parseLenient() local
324 …TemporalAccessor parsed = getFormatterBaseDate(field, minWidth, maxWidth, baseValue).parseUnresolv… in test_parseLenient_baseDate() local
334 private void assertParsed(TemporalAccessor parsed, TemporalField field, Long value) { in assertParsed()
374 TemporalAccessor parsed = dtf.parseUnresolved(input, ppos); in test_parseAdjacent() local
422 TemporalAccessor parsed = df.parseUnresolved(input, pos); in test_reducedWithChronoYear() local
[all …]
DTestFractionPrinterParser.java249 …TemporalAccessor parsed = getFormatter(NANO_OF_SECOND, minWidth, maxWidth, true).parseUnresolved(r… in test_reverseParse() local
257 …TemporalAccessor parsed = getFormatter(NANO_OF_SECOND, minWidth, maxWidth, false).parseUnresolved(… in test_reverseParse_noDecimalPoint() local
267 …TemporalAccessor parsed = getFormatter(NANO_OF_SECOND, minWidth, maxWidth, true).parseUnresolved(r… in test_reverseParse_followedByNonDigit() local
285 …TemporalAccessor parsed = getFormatter(NANO_OF_SECOND, minWidth, maxWidth, true).parseUnresolved("… in test_reverseParse_preceededByNonDigit() local
301 …TemporalAccessor parsed = getFormatter(SECOND_OF_MINUTE, minWidth, maxWidth, true).parseUnresolved… in test_reverseParse_seconds() local
306 private void assertParsed(TemporalAccessor parsed, TemporalField field, Long value) { in assertParsed()
332 … TemporalAccessor parsed = getFormatter(field, min, max, decimalPoint).parseUnresolved(text, ppos); in test_parse_nothing() local
DTestNumberParser.java174 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_fresh() local
194 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_textField() local
310 … TemporalAccessor parsed = getFormatter(DAY_OF_MONTH, min, max, style).parseUnresolved(input, pos); in test_parseSignsStrict() local
420 … TemporalAccessor parsed = getFormatter(DAY_OF_MONTH, min, max, style).parseUnresolved(input, pos); in test_parseSignsLenient() local
511 … TemporalAccessor parsed = getFormatter(DAY_OF_MONTH, min, max, style).parseUnresolved(input, pos); in test_parseDigitsLenient() local
548 TemporalAccessor parsed = f.parseUnresolved(input, pos); in test_parseDigitsAdjacentLenient() local
DTestDateTimeFormatterBuilder.java238 TemporalAccessor parsed = f.parseUnresolved("123", new ParsePosition(0)); in test_appendValue_subsequent2_parse3() local
248 TemporalAccessor parsed = f.parseUnresolved("0123", new ParsePosition(0)); in test_appendValue_subsequent2_parse4() local
258 TemporalAccessor parsed = f.parseUnresolved("01234", new ParsePosition(0)); in test_appendValue_subsequent2_parse5() local
271 TemporalAccessor parsed = f.parseUnresolved("20090630", new ParsePosition(0)); in test_appendValue_subsequent3_parse6() local
288 TemporalAccessor parsed = f.parseUnresolved("12", new ParsePosition(0)); in test_appendValueReduced() local
298 TemporalAccessor parsed = f.parseUnresolved("123", ppos); in test_appendValueReduced_subsequent_parse() local
483 ZoneOffset parsed = f.parse(expected, ZoneOffset::from); in test_appendOffset_parse() local
DTestCharLiteralParser.java108 TemporalAccessor parsed = getFormatter(c).parseUnresolved(text, ppos); in test_parse_success() local
DTestStringLiteralParser.java111 TemporalAccessor parsed = getFormatter(s).parseUnresolved(text, ppos); in test_parse_success() local
DTestTextParser.java127 TemporalAccessor parsed = in test_parse_noMatch1() local
135 TemporalAccessor parsed = in test_parse_noMatch2() local
143 TemporalAccessor parsed = in test_parse_noMatch_atEnd() local
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKPadPrinterParser.java132 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos); in test_parseStrict() local
173 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos); in test_parseLenient() local
188 TemporalAccessor parsed = builder.toFormatter().parseUnresolved("--HELLO-", pos); in test_parse_decoratedStartsWithPad() local
197 TemporalAccessor parsed = builder.toFormatter().parseUnresolved("--2", pos); in test_parse_decoratedStartsWithPad_number() local
208 TemporalAccessor parsed = builder.toFormatter().parseUnresolved("----", pos); in test_parse_decoratedEmpty_strict() local
217 TemporalAccessor parsed = builder.toFormatter().parseUnresolved("----", pos); in test_parse_decoratedEmpty_lenient() local
DTCKChronoPrinterParser.java123 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos); in test_parseValid_caseSensitive() local
132 …TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text.toLowerCase(Locale.ENGLISH), … in test_parseValid_caseSensitive_lowercaseRejected() local
141 …TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text.toLowerCase(Locale.ENGLISH), … in test_parseValid_caseInsensitive() local
161 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos); in test_parseInvalid() local
DTCKLocalizedFieldParser.java129 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_textField() local
161 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_textLocalDate() local
198 TemporalAccessor parsed = dtf.parseUnresolved(text, ppos); in test_parse_WeekBasedYear() local
228 TemporalAccessor parsed = df.parseUnresolved(text, ppos); in test_adjacentValuePatterns1() local
251 TemporalAccessor parsed = df.parseUnresolved(text, ppos); in test_adjacentValuePatterns2() local
264 TemporalAccessor parsed = df.parseUnresolved(text, ppos); in test_adjacentValuePatterns3() local
DTCKDateTimeFormatterBuilder.java122 LocalDate parsed = f.parse("", LocalDate::from); // blank string can be parsed in test_parseDefaulting_entireDate() local
547 ZoneOffset parsed = f.parse(expected, ZoneOffset::from); in test_appendOffset_parse() local
1116 TemporalAccessor parsed = f.parseUnresolved("12309", pp); in test_adjacent_strict_firstFixedWidth() local
1128 TemporalAccessor parsed = f.parseUnresolved("12309Z", pp); in test_adjacent_strict_firstVariableWidth_success() local
1140 TemporalAccessor parsed = f.parseUnresolved("12309", pp); in test_adjacent_strict_firstVariableWidth_fails() local
1150 TemporalAccessor parsed = f.parseUnresolved("12309", pp); in test_adjacent_lenient() local
1162 TemporalAccessor parsed = f.parseUnresolved("12309Z", pp); in test_adjacent_lenient_firstVariableWidth_success() local
1174 TemporalAccessor parsed = f.parseUnresolved("12309", pp); in test_adjacent_lenient_firstVariableWidth_fails() local
1185 TemporalAccessor parsed = f.parseUnresolved("1230567", pp); in test_adjacent_strict_fractionFollows() local
1198 TemporalAccessor parsed = f.parseUnresolved("123056", pp); in test_adjacent_strict_fractionFollows_2digit() local
[all …]
DTCKLocalizedPrinterParser.java164 TemporalAccessor parsed = f.parse(text, pos); in test_date_parse() local
225 TemporalAccessor parsed = f.parse(text, pos); in test_time_parse() local
DTCKInstantPrinterParser.java295 TemporalAccessor parsed = f.withResolverStyle(style).parse("1970-02-03T24:00:00Z"); in test_parse_endOfDay() local
307 … TemporalAccessor parsed = f.withResolverStyle(style).parse("1970-02-03T23:59:60.123456789Z"); in test_parse_leapSecond() local
DTCKDateTimeFormatter.java185 LocalDate parsed = f.parse("2012-6-30-321", LocalDate::from); // ignored day-of-year in test_resolverFields_selectOneDateResolveYMD() local
204 LocalDate parsed = f.parse("2012-6-30-321", LocalDate::from); // ignored month/day-of-month in test_resolverFields_selectOneDateResolveYD() local
220 LocalDate parsed = f.parse("2012-321-1", LocalDate::from); // ignored wrong day-of-week in test_resolverFields_ignoreCrossCheck() local
228 TemporalAccessor parsed = f.parse("2012"); in test_resolverFields_emptyList() local
236 TemporalAccessor parsed = f.parse("2012"); in test_resolverFields_listOfOneMatching() local
244 TemporalAccessor parsed = f.parse("2012"); in test_resolverFields_listOfOneNotMatching() local
253 TemporalAccessor parsed = f.parse("2012"); in test_resolverFields_listOfOneNull() local
DTCKZoneIdPrinterParser.java247 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(lcText, pos); in test_ZoneId_parseSuccess_caseSensitive() local
299 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(lcText, pos); in test_ZoneOrOffsetId_parseSuccess_caseSensitive() local
318 TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text, pos); in test() local
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java161 LocalDate parsed = LocalDate.parse(date.getYear() + "-" + qoy + "-" + doq, f); in test_parse_quarters() local
172 LocalDate parsed = LocalDate.parse(date.getYear() + "-" + qoy + "-" + doq, f); in test_parse_quarters_SMART() local
183 LocalDate parsed = LocalDate.parse(date.getYear() + "-" + qoy + "-" + doq, f); in test_parse_quarters_LENIENT() local
229 LocalDate parsed = LocalDate.parse(str, f); in test_parse_parseLenientQuarter_SMART() local
248 LocalDate parsed = LocalDate.parse(str, f); in test_parse_parseLenientQuarter_LENIENT() local
360 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_STRICT() local
371 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_SMART() local
382 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_LENIENT() local
421 LocalDate parsed = LocalDate.parse(str, f); in test_parse_parseLenientWeek_SMART() local
440 LocalDate parsed = LocalDate.parse(str, f); in test_parse_parseLenientWeek_LENIENT() local
DTCKJulianFields.java146 LocalDate parsed = LocalDate.parse(Long.toString(value), f); in test_samples_parse_STRICT() local
154 LocalDate parsed = LocalDate.parse(Long.toString(value), f); in test_samples_parse_SMART() local
162 LocalDate parsed = LocalDate.parse(Long.toString(value), f); in test_samples_parse_LENIENT() local
DTCKWeekFields.java394 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWom() local
417 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWom_lenient() local
462 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWomDow() local
486 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWomDow_lenient() local
508 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWoy() local
530 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWoy_lenient() local
573 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWoyDow() local
596 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWoyDow_lenient() local
619 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWoWBY() local
643 LocalDate parsed = LocalDate.parse(str, f); in test_parse_resolve_localizedWoWBY_lenient() local
[all …]
/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DBigDecimalParse.java106 Number parsed = null; field in BigDecimalParse
482 Object[] parsed = null; in test_Parse_in_MessageFormat_NotParseIntegerOnly() local
568 Object[] parsed = null; in test_Parse_in_MessageFormat_ParseIntegerOnly() local
637 Number parsed = null; in test_Parse_in_DecimalFormat_ParseIntegerOnly() local
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java109 private final ArrayList<Parsed> parsed = new ArrayList<>(); field in DateTimeParseContext
328 Parsed parsed = currentParsed(); in toResolved() local
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeBuilderCombinations.java149 TemporalAccessor parsed = dtfb.toFormatter().parse(str); in test_derive() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java119 java.lang.String parsed, in parseNumber()
126 java.lang.CharSequence text, java.lang.String parsed, int negate) { in parseFraction()
/libcore/luni/src/test/java/libcore/java/util/
DLocaleLanguageRangeTest.java366 List<String> parsed = rangesToStrings(LanguageRange.parse("ccq-xx")); in testParse_multiEquivalent_consistency() local
/libcore/luni/src/test/java/libcore/java/math/
DBigDecimalTest.java58 BigDecimal parsed = new BigDecimal(value); in assertPrecision() local

12