Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKOffsetPrinterParser.java497 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 …]
DTCKLocalizedFieldParser.java127 = 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()
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()
DTCKDateTimeFormatterBuilder.java617 …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()
DTCKLocalizedFieldPrinter.java98 = new DateTimeFormatterBuilder().appendPattern(pattern); in test_localizedDayOfWeek()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeParsing.java100 .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();
DAbstractTestPrinterParser.java145 return builder.appendPattern(pattern).toFormatter(locale).withDecimalStyle(decimalStyle); in getPatternFormatter()
DTestReducedPrinter.java271 builder.appendPattern(pattern); in test_printAdjacent()
DTestNonIsoFormatter.java201 .appendPattern("GGGG y-M-d") in test_lenientEraYear()
DTestDateTimeFormatterBuilderWithLocale.java121 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
DTestDateTimeFormatterBuilder.java1172 builder.appendPattern(input); in test_appendPattern_valid()
1252 builder.appendPattern(input); in test_appendPattern_invalid()
DTestUnicodeExtension.java921 new DateTimeFormatterBuilder().appendPattern(PATTERN).toFormatter(locale); in test_toFormatter()
DTestReducedParser.java371 builder.appendPattern(pattern); in test_parseAdjacent()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java567 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(); in ofPattern()
591 return new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in ofPattern()
DDateTimeFormatterBuilder.java1785 public DateTimeFormatterBuilder appendPattern(String pattern) { in appendPattern() method in DateTimeFormatterBuilder
5009 … formatter = new DateTimeFormatterBuilder().appendPattern(pattern).toFormatter(locale); in formatter()
/libcore/api/
Dcurrent.txt12675 method public java.time.format.DateTimeFormatterBuilder appendPattern(String);