/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatter.java | 150 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-mm-dd"); in assertGoodErrorDate() 165 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:MM:ss"); in assertGoodErrorTime() 181 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:mm:ss"); in test_parsed_toString_resolvedTime() 189 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd"); in test_parsed_toString_resolvedDate() 197 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); in test_parsed_toString_resolvedDateTime() 216 DateTimeFormatter fmt = DateTimeFormatter.ofPattern(pattern); in test_throws_message()
|
D | TestUnicodeExtension.java | 341 Object[][] ofPattern() { in ofPattern() method in TestUnicodeExtension 907 DateTimeFormatter.ofPattern(PATTERN, locale); in test_ofPattern()
|
D | TestTextParserWithLocale.java | 221 DateTimeFormatter fmt = DateTimeFormatter.ofPattern("[GGG ]yyy-MM-dd") in test_chronoLocalDate()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedOffsetIdPrinterParser.java | 39 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.S O") in test_localized_offset_parse()
|
D | TCKLocalizedFieldPrinter.java | 124 DateTimeFormatter dtf = DateTimeFormatter.ofPattern(pattern, locale); in test_print_WeekBasedYear()
|
D | TCKDateTimeFormatterBuilder.java | 597 DateTimeFormatter df = DateTimeFormatter.ofPattern(pattern, Locale.US); in test_appendZoneText_formatGenericTimeZonePatterns() 671 DateTimeFormatter df = DateTimeFormatter.ofPattern(pattern, Locale.US).withZone(zId); in test_appendZoneText_parseNonGenricTimeZonePatterns_2() 997 DateTimeFormatter.ofPattern(pattern).parse(input); in test_modJulianFieldPattern() 1052 DateTimeFormatter.ofPattern("DDD").parse("1234"); in test_dayOfYearFieldInvalidValue() 1058 DateTimeFormatter.ofPattern("yyyyDDHHmmss").parse("201610123456"); in test_dayOfYearFieldInvalidAdacentValueParsingPattern() 1107 DateTimeFormatter.ofPattern("yyyyAA").parse("201610"); in test_secondsPatternInvalidAdacentValueParsingPattern() 1266 DateTimeFormatter dtf = DateTimeFormatter.ofPattern(pattern); in test_adjacent_fraction()
|
D | TCKDateTimeFormatter.java | 122 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()
|
D | TCKDateTimeFormatters.java | 129 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()
|
D | TCKDTFParsedInstant.java | 198 … dtFormatter = DateTimeFormatter.ofPattern("d MMM HH:mm:ss uuuu VV").withLocale(Locale.ENGLISH); in testWithZoneWithoutOffset()
|
D | TCKLocalizedFieldParser.java | 284 DateTimeFormatter.ofPattern(pattern).parse(value); in test_invalidPatterns()
|
/libcore/luni/src/test/java/libcore/java/time/format/ |
D | DateTimeFormatterTest.java | 100 return DateTimeFormatter.ofPattern(pattern, l).format(datetime); in formatWithPattern()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | TimeApisConsistencyTest.java | 87 DateTimeFormatter.ofPattern("dd MM yyyy HH:mm:ss").withLocale(Locale.US);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKMonthDay.java | 360 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()
|
D | TCKYear.java | 338 DateTimeFormatter f = DateTimeFormatter.ofPattern("y"); in factory_parse_formatter() 345 DateTimeFormatter f = DateTimeFormatter.ofPattern("y"); in factory_parse_formatter_nullText() 999 DateTimeFormatter f = DateTimeFormatter.ofPattern("y"); in test_format_formatter()
|
D | TCKYearMonth.java | 379 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()
|
D | TCKOffsetTime.java | 453 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s XXX"); 460 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s"); 1132 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s");
|
D | TCKOffsetDateTime.java | 456 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s XXX"); 463 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s"); 1201 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
|
D | TCKLocalTime.java | 570 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s"); in factory_parse_formatter() 577 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s"); in factory_parse_formatter_nullText() 2381 DateTimeFormatter f = DateTimeFormatter.ofPattern("H m s");
|
D | TCKLocalDate.java | 633 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d"); 640 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d"); 1960 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d");
|
D | TCKZonedDateTime.java | 794 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s VV"); 801 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s"); 2081 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
|
D | TCKLocalDateTime.java | 894 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s"); 901 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s"); 2938 DateTimeFormatter f = DateTimeFormatter.ofPattern("y M d H m s");
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 566 public static DateTimeFormatter ofPattern(String pattern) { in ofPattern() method in DateTimeFormatter 590 public static DateTimeFormatter ofPattern(String pattern, Locale locale) { in ofPattern() method in DateTimeFormatter
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestEraDisplayName.java | 60 DateTimeFormatter.ofPattern("yyyy MM dd GGGG G GGGGG")
|
D | TestUmmAlQuraChronology.java | 443 DateTimeFormatter test = DateTimeFormatter.ofPattern("dd G E MMMM yyyy", Locale.US); in test_ofPattern()
|
/libcore/api/ |
D | current.txt | 12623 method public static java.time.format.DateTimeFormatter ofPattern(String); 12624 method public static java.time.format.DateTimeFormatter ofPattern(String, java.util.Locale);
|