Home
last modified time | relevance | path

Searched refs:padNext (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestPadPrinterDecorator.java77 builder.padNext(3, '-').appendLiteral('Z'); in test_print_emptyCalendrical()
83 builder.padNext(3, '-').appendLiteral('Z'); in test_print_fullDateTime()
90 builder.padNext(3, '-').appendLiteral('Z'); in test_print_append()
97 builder.padNext(1, '-').appendLiteral('Z'); in test_print_noPadRequiredSingle()
103 builder.padNext(5, '-').appendLiteral('Z'); in test_print_padRequiredSingle()
109 builder.padNext(4, '-').appendLiteral("WXYZ"); in test_print_noPadRequiredMultiple()
115 builder.padNext(5, '-').appendLiteral("WXYZ"); in test_print_padRequiredMultiple()
122 builder.padNext(3, '-').appendLiteral("WXYZ"); in test_print_overPad()
128 builder.padNext(5, ' ').appendLiteral('Y'); in test_toString1()
133 builder.padNext(5, '-').appendLiteral('Y'); in test_toString2()
DTestDateTimeFormatterBuilder.java536 builder.appendValue(MONTH_OF_YEAR).appendLiteral(':').padNext(2).appendValue(DAY_OF_MONTH); in test_padNext_1arg()
542 builder.padNext(0); in test_padNext_1arg_invalidWidth()
548 … builder.appendValue(MONTH_OF_YEAR).appendLiteral(':').padNext(2, '-').appendValue(DAY_OF_MONTH); in test_padNext_2arg_dash()
554 builder.padNext(0, '-'); in test_padNext_2arg_invalidWidth()
561 .padNext(5).optionalStart().appendValue(DAY_OF_MONTH).optionalEnd() in test_padOptional()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKPadPrinterParser.java94 builder.padNext(3, '-').appendLiteral('Z'); in test_parse_negativePosition()
100 builder.padNext(3, '-').appendLiteral('Z'); in test_parse_offEndPosition()
131 builder.padNext(3, '#').appendValue(MONTH_OF_YEAR, 1, 3, SignStyle.NORMAL); in test_parseStrict()
172 builder.parseLenient().padNext(3, '#').appendValue(MONTH_OF_YEAR, 1, 3, SignStyle.NORMAL); in test_parseLenient()
187 builder.padNext(8, '-').appendLiteral("-HELLO-"); in test_parse_decoratedStartsWithPad()
196 builder.padNext(3, '-').appendValue(MONTH_OF_YEAR, 1, 2, SignStyle.NORMAL); in test_parse_decoratedStartsWithPad_number()
207 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.java441 builder.appendValue(MONTH_OF_YEAR).appendLiteral(':').padNext(2).appendValue(DAY_OF_MONTH); in test_padNext_1arg()
447 builder.padNext(0); in test_padNext_1arg_invalidWidth()
453 … builder.appendValue(MONTH_OF_YEAR).appendLiteral(':').padNext(2, '-').appendValue(DAY_OF_MONTH); in test_padNext_2arg_dash()
459 builder.padNext(0, '-'); in test_padNext_2arg_invalidWidth()
466 .padNext(5).optionalStart().appendValue(DAY_OF_MONTH).optionalEnd() in test_padOptional()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java1602 padNext(pad); // pad and continue parsing in parsePattern()
1893 public DateTimeFormatterBuilder padNext(int padWidth) { in padNext() method in DateTimeFormatterBuilder
1894 return padNext(padWidth, ' '); in padNext()
1918 public DateTimeFormatterBuilder padNext(int padWidth, char padChar) { in padNext() method in DateTimeFormatterBuilder