Home
last modified time | relevance | path

Searched refs:appendPattern (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKOffsetPrinterParser.java258 builder.appendPattern(pattern); in test_print_pattern_X()
286 builder.appendPattern(pattern); in test_print_pattern_x()
297 DateTimeFormatter f1 = new DateTimeFormatterBuilder().appendPattern("Z").toFormatter(); in test_print_pattern_Z()
301 DateTimeFormatter f2 = new DateTimeFormatterBuilder().appendPattern("ZZ").toFormatter(); in test_print_pattern_Z()
305 … DateTimeFormatter f3 = new DateTimeFormatterBuilder().appendPattern("ZZZ").toFormatter(); in test_print_pattern_Z()
310 … DateTimeFormatter f = new DateTimeFormatterBuilder().appendPattern("ZZZZZ").toFormatter(); in test_print_pattern_Z()
328 f = new DateTimeFormatterBuilder().appendPattern("ZZZZ") in test_print_localized()
334 f = new DateTimeFormatterBuilder().appendPattern("OOOO") in test_print_localized()
342 f = new DateTimeFormatterBuilder().appendPattern("O") in test_print_localized()
353 builder.appendPattern("XXXXXX"); in test_print_pattern_X6rejected()
[all …]
DTCKZoneIdPrinterParser.java125 builder.appendPattern("VV"); in test_print_pattern_VV()
133 builder.appendPattern("V"); in test_print_pattern_V1rejected()
138 builder.appendPattern("VVV"); in test_print_pattern_V3rejected()
143 builder.appendPattern("VVVV"); in test_print_pattern_V4rejected()
148 builder.appendPattern("VVVVV"); in test_print_pattern_V5rejected()
DTCKLocalizedFieldParser.java119 = new DateTimeFormatterBuilder().appendPattern(pattern); in test_parse_textField()
151 DateTimeFormatterBuilder b = new DateTimeFormatterBuilder().appendPattern(pattern); in test_parse_textLocalDate()
188 DateTimeFormatterBuilder b = new DateTimeFormatterBuilder().appendPattern(pattern); in test_parse_WeekBasedYear()
DTCKLocalizedFieldPrinter.java98 = new DateTimeFormatterBuilder().appendPattern(pattern); in test_localizedDayOfWeek()
DTCKDateTimeFormatterBuilder.java640 builder.appendPattern(input); // test is for no error here in test_appendPattern_valid()
709 builder.appendPattern(input); // test is for error here in test_appendPattern_invalid()
726 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeParsing.java94 .appendPattern("yyyy-MM-dd HH:mm:ss").toFormatter();
96 .appendPattern("yyyy-MM-dd HH:mm:ss ").appendZoneId().toFormatter();
98 .appendPattern("yyyy-MM-dd HH:mm:ss ").appendOffsetId().toFormatter();
DAbstractTestPrinterParser.java145 return builder.appendPattern(pattern).toFormatter(locale).withDecimalStyle(decimalStyle); in getPatternFormatter()
DTestReducedPrinter.java271 builder.appendPattern(pattern); in test_printAdjacent()
DTestNonIsoFormatter.java200 .appendPattern("GGGG y-M-d") in test_lenientEraYear()
DTestDateTimeFormatterBuilder.java802 builder.appendPattern(input); in test_appendPattern_valid()
878 builder.appendPattern(input); in test_appendPattern_invalid()
898 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
DTestReducedParser.java371 builder.appendPattern(pattern); in test_parseAdjacent()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java536 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in ofPattern()
560 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in ofPattern()
DDateTimeFormatterBuilder.java1585 public DateTimeFormatterBuilder appendPattern(String pattern) { in appendPattern() method in DateTimeFormatterBuilder
4490 … formatter = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in formatter()
/libcore/api/
Dcurrent.txt11758 method public java.time.format.DateTimeFormatterBuilder appendPattern(String);