Searched refs:subsequentWidth (Results 1 - 2 of 2) sorted by relevance

/openjdk10/jdk/test/java/time/test/java/time/format/
H A DTestNumberParser.java167 public void test_parse_fresh(int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos, long expectedValue) { argument
170 if (subsequentWidth > 0) {
172 dtf = builder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decimalStyle);
178 assertTrue(subsequentWidth >= 0);
179 assertEquals(ppos.getIndex(), expectedPos + subsequentWidth);
187 public void test_parse_textField(int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos, long expectedValue) { argument
190 if (subsequentWidth > 0) {
192 dtf = builder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decimalStyle);
198 assertTrue(subsequentWidth >= 0);
199 assertEquals(ppos.getIndex(), expectedPos + subsequentWidth);
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/time/format/
H A DDateTimeFormatterBuilder.java638 // Append the width to the subsequentWidth of the active parser
2623 final int subsequentWidth; field in class:DateTimeFormatterBuilder.NumberPrinterParser
2639 this.subsequentWidth = 0;
2649 * @param subsequentWidth the width of subsequent non-negative numbers, 0 or greater,
2652 protected NumberPrinterParser(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth) { argument
2658 this.subsequentWidth = subsequentWidth;
2667 if (subsequentWidth == -1) {
2676 * @param subsequentWidth the width of subsequent non-negative numbers, 0 or greater
2679 NumberPrinterParser withSubsequentWidth(int subsequentWidth) { argument
2936 ReducedPrinterParser(TemporalField field, int minWidth, int maxWidth, int baseValue, ChronoLocalDate baseDate, int subsequentWidth) argument
3014 withSubsequentWidth(int subsequentWidth) argument
3083 FractionPrinterParser(TemporalField field, int minWidth, int maxWidth, boolean decimalPoint, int subsequentWidth) argument
3108 withSubsequentWidth(int subsequentWidth) argument
4810 WeekBasedFieldPrinterParser(char chr, int count, int minWidth, int maxWidth, int subsequentWidth) argument
4837 withSubsequentWidth(int subsequentWidth) argument
[all...]

Completed in 103 milliseconds