Home
last modified time | relevance | path

Searched refs:appendOffset (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatterBuilder.java537 builder.appendOffset(pattern, "Z"); in test_appendOffset_format()
545 builder.appendOffset(pattern, "Z"); in test_appendOffset_parse()
568 builder.appendOffset(pattern, "Z"); in test_appendOffset_badPattern()
573 builder.appendOffset("+HH:MM", null); in test_appendOffset_3arg_nullText()
578 builder.appendOffset(null, "Z"); in test_appendOffset_3arg_nullPattern()
1455 …assertEquals(new DateTimeFormatterBuilder().parseLenient().appendOffset(pattern, "Z").toFormatter(… in test_lenient_offset_parse_1()
1467 assertEquals(new DateTimeFormatterBuilder().appendOffset(pattern, "Z").toFormatter() in test_strictDoubleDigitHour_offset_parse_1()
1473 assertEquals(new DateTimeFormatterBuilder().appendOffset(pattern, "Z") in test_strictDoubleDigitHour_offset_parse_2()
1479 assertEquals(new DateTimeFormatterBuilder().appendOffset(pattern, "Z").toFormatter() in test_strictSingleDigitHour_offset_parse_1()
1485 assertEquals(new DateTimeFormatterBuilder().appendOffset(pattern, "Z") in test_strictSingleDigitHour_offset_parse_2()
[all …]
DTCKOffsetPrinterParser.java475 builder.appendOffset(offsetPattern, noOffset); in test_print()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilder.java472 builder.appendOffset(pattern, "Z"); in test_appendOffset_format()
480 builder.appendOffset(pattern, "Z"); in test_appendOffset_parse()
504 builder.appendOffset(pattern, "Z"); in test_appendOffset_badPattern()
509 builder.appendOffset("+HH:MM", null); in test_appendOffset_3arg_nullText()
514 builder.appendOffset(null, "Z"); in test_appendOffset_3arg_nullPattern()
DAbstractTestPrinterParser.java141 …return builder.appendOffset(pattern, noOffsetText).toFormatter(locale).withDecimalStyle(decimalSty… in getFormatter()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java1217 .appendOffset("+HHMMss", "Z")
1312 .appendOffset("+HHMM", "GMT") // should handle UT/Z/EST/EDT/CST/CDT/MST/MDT/PST/MDT
DDateTimeFormatterBuilder.java1000 public DateTimeFormatterBuilder appendOffset(String pattern, String noOffsetText) { in appendOffset() method in DateTimeFormatterBuilder
1843 appendOffset("+HHMM", "+0000"); in parsePattern()
1847 appendOffset("+HH:MM:ss","Z"); in parsePattern()
1863 appendOffset(OffsetIdPrinterParser.PATTERNS[count + (count == 1 ? 0 : 1)], "Z"); in parsePattern()
1869appendOffset(OffsetIdPrinterParser.PATTERNS[count + (count == 1 ? 0 : 1)], zero); in parsePattern()
/libcore/api/
Dcurrent.txt12814 method public java.time.format.DateTimeFormatterBuilder appendOffset(String, String);