Searched refs:appendPattern (Results 1 – 13 of 13) sorted by relevance
258 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 …]
125 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()
119 = 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()
98 = new DateTimeFormatterBuilder().appendPattern(pattern); in test_localizedDayOfWeek()
640 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()
94 .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();
145 return builder.appendPattern(pattern).toFormatter(locale).withDecimalStyle(decimalStyle); in getPatternFormatter()
271 builder.appendPattern(pattern); in test_printAdjacent()
200 .appendPattern("GGGG y-M-d") in test_lenientEraYear()
802 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()
371 builder.appendPattern(pattern); in test_parseAdjacent()
536 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in ofPattern()560 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in ofPattern()
1576 public DateTimeFormatterBuilder appendPattern(String pattern) { in appendPattern() method in DateTimeFormatterBuilder4479 … formatter = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in formatter()