Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatter.java613 …TemporalAccessor result = test.parseBest("2011-06-30 12:30+03:00", ZonedDateTime::from, LocalDateT… in test_parseBest_firstOption()
621 … TemporalAccessor result = test.parseBest("2011-06-30", ZonedDateTime::from, LocalDate::from); in test_parseBest_secondOption()
629 test.parseBest("2011-06-XX", ZonedDateTime::from, LocalDateTime::from); in test_parseBest_String_parseError()
643 …test.parseBest("ONEXXX67890123456789012345678901234567890123456789012345678901234567890123456789",… in test_parseBest_String_parseErrorLongText()
657 test.parseBest("ONE30SomethingElse", ZonedDateTime::from, LocalDate::from); in test_parseBest_String_parseIncomplete()
670 test.parseBest((String) null, ZonedDateTime::from, LocalDate::from); in test_parseBest_String_nullText()
676 test.parseBest("30", (TemporalQuery<?>[]) null); in test_parseBest_String_nullRules()
682 test.parseBest("30", new TemporalQuery<?>[0]); in test_parseBest_String_zeroRules()
688 test.parseBest("30", LocalDate::from); in test_parseBest_String_oneRule()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java1890 public TemporalAccessor parseBest(CharSequence text, TemporalQuery<?>... queries) { in parseBest() method in DateTimeFormatter