Searched refs:appendPattern (Results 1 – 16 of 16) sorted by relevance
497 builder.appendPattern(pattern); in test_print_pattern_X()525 builder.appendPattern(pattern); in test_print_pattern_x()536 DateTimeFormatter f1 = new DateTimeFormatterBuilder().appendPattern("Z").toFormatter(); in test_print_pattern_Z()540 DateTimeFormatter f2 = new DateTimeFormatterBuilder().appendPattern("ZZ").toFormatter(); in test_print_pattern_Z()544 … DateTimeFormatter f3 = new DateTimeFormatterBuilder().appendPattern("ZZZ").toFormatter(); in test_print_pattern_Z()549 … DateTimeFormatter f = new DateTimeFormatterBuilder().appendPattern("ZZZZZ").toFormatter(); in test_print_pattern_Z()567 f = new DateTimeFormatterBuilder().appendPattern("ZZZZ") in test_print_localized()573 f = new DateTimeFormatterBuilder().appendPattern("OOOO") in test_print_localized()581 f = new DateTimeFormatterBuilder().appendPattern("O") in test_print_localized()592 builder.appendPattern("XXXXXX"); in test_print_pattern_X6rejected()[all …]
127 = new DateTimeFormatterBuilder().appendPattern(pattern); in test_parse_textField()159 DateTimeFormatterBuilder b = new DateTimeFormatterBuilder().appendPattern(pattern); in test_parse_textLocalDate()196 DateTimeFormatterBuilder b = new DateTimeFormatterBuilder().appendPattern(pattern); in test_parse_WeekBasedYear()226 .appendPattern(pattern).toFormatter(Locale.US); in test_adjacentValuePatterns1()249 .appendPattern(pattern).toFormatter(Locale.US); in test_adjacentValuePatterns2()262 .appendPattern(pattern).toFormatter(Locale.US); in test_adjacentValuePatterns3()
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()
617 …DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(Locale.US… in test_appendZoneText_parseGenericTimeZonePatterns()644 …DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(Locale.US… in test_appendZoneText_parseNonGenricTimeZonePatterns_1()887 builder.appendPattern(input); // test is for no error here in test_appendPattern_valid()959 builder.appendPattern(input); // test is for error here in test_appendPattern_invalid()976 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()1011 DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern("g").toFormatter(); in test_modJulianFieldValues()1031 DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in test_dayOfYearFieldValues()1045 … DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern("yyyyDDDHHmm").toFormatter(); in test_dayOfYearFieldAdjacentValueParsing()1085 DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in test_secondsPattern()1100 DateTimeFormatter df = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in test_secondsValues()
98 = new DateTimeFormatterBuilder().appendPattern(pattern); in test_localizedDayOfWeek()
100 .appendPattern("yyyy-MM-dd HH:mm:ss").toFormatter();102 .appendPattern("yyyy-MM-dd HH:mm:ss ").appendZoneId().toFormatter();104 .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()
201 .appendPattern("GGGG y-M-d") in test_lenientEraYear()
121 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
1172 builder.appendPattern(input); in test_appendPattern_valid()1252 builder.appendPattern(input); in test_appendPattern_invalid()
921 new DateTimeFormatterBuilder().appendPattern(PATTERN).toFormatter(locale); in test_toFormatter()
371 builder.appendPattern(pattern); in test_parseAdjacent()
567 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in ofPattern()591 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in ofPattern()
1785 public DateTimeFormatterBuilder appendPattern(String pattern) { in appendPattern() method in DateTimeFormatterBuilder5009 … formatter = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in formatter()
12675 method public java.time.format.DateTimeFormatterBuilder appendPattern(String);