Home
last modified time | relevance | path

Searched refs:ofPattern (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatter.java145 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-mm-dd"); in assertGoodErrorDate()
160 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:MM:ss"); in assertGoodErrorTime()
176 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:mm:ss"); in test_parsed_toString_resolvedTime()
184 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd"); in test_parsed_toString_resolvedDate()
192 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); in test_parsed_toString_resolvedDateTime()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedFieldPrinter.java124 DateTimeFormatter dtf = DateTimeFormatter.ofPattern(pattern, locale); in test_print_WeekBasedYear()
DTCKDateTimeFormatter.java122 private static final DateTimeFormatter BASIC_FORMATTER = DateTimeFormatter.ofPattern("'ONE'd");
123 …private static final DateTimeFormatter DATE_FORMATTER = DateTimeFormatter.ofPattern("'ONE'yyyy MM …
612 DateTimeFormatter test = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm[XXX]"); in test_parseBest_firstOption()
620 DateTimeFormatter test = DateTimeFormatter.ofPattern("yyyy-MM-dd[ HH:mm[XXX]]"); in test_parseBest_secondOption()
627 DateTimeFormatter test = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm[XXX]"); in test_parseBest_String_parseError()
DTCKDateTimeFormatters.java129 DateTimeFormatter test = DateTimeFormatter.ofPattern("d MMM yyyy"); in test_pattern_String()
138 DateTimeFormatter.ofPattern("p"); in test_pattern_String_invalid()
143 DateTimeFormatter.ofPattern(null); in test_pattern_String_null()
151 DateTimeFormatter test = DateTimeFormatter.ofPattern("d MMM yyyy", Locale.UK); in test_pattern_StringLocale()
158 DateTimeFormatter.ofPattern("p", Locale.UK); in test_pattern_StringLocale_invalid()
163 DateTimeFormatter.ofPattern(null, Locale.UK); in test_pattern_StringLocale_nullPattern()
168 DateTimeFormatter.ofPattern("yyyy", null); in test_pattern_StringLocale_nullLocale()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKMonthDay.java360 DateTimeFormatter f = DateTimeFormatter.ofPattern("M d"); in factory_parse_formatter()
367 DateTimeFormatter f = DateTimeFormatter.ofPattern("M d"); in factory_parse_formatter_nullText()
636 DateTimeFormatter f = DateTimeFormatter.ofPattern("M d"); in test_format_formatter()
DTCKYear.java314 DateTimeFormatter f = DateTimeFormatter.ofPattern("y"); in factory_parse_formatter()
321 DateTimeFormatter f = DateTimeFormatter.ofPattern("y"); in factory_parse_formatter_nullText()
975 DateTimeFormatter f = DateTimeFormatter.ofPattern("y"); in test_format_formatter()
DTCKOffsetTime.java449 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s XXX");
456 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
1140 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s");
DTCKYearMonth.java379 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M"); in factory_parse_formatter()
386 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M"); in factory_parse_formatter_nullText()
1299 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M"); in test_format_formatter()
DTCKOffsetDateTime.java459 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s XXX");
466 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
1216 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
DTCKLocalDate.java588 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d");
595 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d");
1891 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d");
DTCKLocalTime.java542 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s"); in factory_parse_formatter()
549 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s"); in factory_parse_formatter_nullText()
2353 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s");
DTCKZonedDateTime.java799 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s VV");
806 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
2086 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
DTCKLocalDateTime.java900 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
907 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
2944 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java535 public static DateTimeFormatter ofPattern(String pattern) { in ofPattern() method in DateTimeFormatter
559 public static DateTimeFormatter ofPattern(String pattern, Locale locale) { in ofPattern() method in DateTimeFormatter
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java443 DateTimeFormatter test = DateTimeFormatter.ofPattern("dd G E MMMM yyyy", Locale.US); in test_ofPattern()