Home
last modified time | relevance | path

Searched refs:optionalStart (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java769 .optionalStart()
807 .optionalStart()
810 .optionalStart()
869 .optionalStart()
957 .optionalStart()
998 .optionalStart()
1000 .optionalStart()
1043 .optionalStart()
1089 .optionalStart()
1168 .optionalStart()
[all …]
DDateTimeFormatterBuilder.java1696 optionalStart(); in parsePattern()
1952 public DateTimeFormatterBuilder optionalStart() { in optionalStart() method in DateTimeFormatterBuilder
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilder.java561 .padNext(5).optionalStart().appendValue(DAY_OF_MONTH).optionalEnd() in test_padOptional()
572 …builder.appendValue(MONTH_OF_YEAR).optionalStart().appendValue(DAY_OF_MONTH).appendValue(DAY_OF_WE… in test_optionalStart_noEnd()
579 …builder.appendValue(MONTH_OF_YEAR).optionalStart().appendValue(DAY_OF_MONTH).optionalStart().appen… in test_optionalStart2_noEnd()
586 … builder.appendValue(MONTH_OF_YEAR).optionalStart().optionalStart().appendValue(DAY_OF_MONTH); in test_optionalStart_doubleStart()
594 …builder.appendValue(MONTH_OF_YEAR).optionalStart().appendValue(DAY_OF_MONTH).optionalEnd().appendV… in test_optionalEnd()
601 builder.appendValue(MONTH_OF_YEAR).optionalStart().appendValue(DAY_OF_MONTH) in test_optionalEnd2()
602 … .optionalStart().appendValue(DAY_OF_WEEK).optionalEnd().appendValue(DAY_OF_MONTH).optionalEnd(); in test_optionalEnd2()
609 …builder.appendValue(MONTH_OF_YEAR).optionalStart().optionalStart().appendValue(DAY_OF_MONTH).optio… in test_optionalEnd_doubleStartSingleEnd()
616 …builder.appendValue(MONTH_OF_YEAR).optionalStart().optionalStart().appendValue(DAY_OF_MONTH).optio… in test_optionalEnd_doubleStartDoubleEnd()
623 builder.appendValue(MONTH_OF_YEAR).optionalStart().optionalEnd().appendValue(DAY_OF_MONTH); in test_optionalStartEnd_immediateStartEnd()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKPadPrinterParser.java207 builder.padNext(4, '-').optionalStart().appendValue(DAY_OF_MONTH).optionalEnd(); in test_parse_decoratedEmpty_strict()
216 … builder.parseLenient().padNext(4, '-').optionalStart().appendValue(DAY_OF_MONTH).optionalEnd(); in test_parse_decoratedEmpty_lenient()
DTCKDateTimeFormatterBuilder.java122 .optionalStart().appendLiteral('-').appendValue(MONTH_OF_YEAR) in test_parseDefaulting_yearOptionalMonthOptionalDay()
123 .optionalStart().appendLiteral('-').appendValue(DAY_OF_MONTH) in test_parseDefaulting_yearOptionalMonthOptionalDay()
466 .padNext(5).optionalStart().appendValue(DAY_OF_MONTH).optionalEnd() in test_padOptional()
DTCKDateTimeFormatter.java357 .optionalStart().appendValue(YEAR, 4).optionalEnd() in test_format_withZone_withChronology()
358 .appendLiteral(':').optionalStart().appendValue(HOUR_OF_DAY, 2).optionalEnd() in test_format_withZone_withChronology()
359 .appendLiteral(':').optionalStart().appendOffsetId().optionalEnd() in test_format_withZone_withChronology()
360 .appendLiteral(':').optionalStart().appendZoneId().optionalEnd() in test_format_withZone_withChronology()
361 .appendLiteral(':').optionalStart().appendChronologyId().optionalEnd() in test_format_withZone_withChronology()