Searched refs:subsequentWidth (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestNumberParser.java | 167 …est_parse_fresh(int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth, String text,… in test_parse_fresh() argument 170 if (subsequentWidth > 0) { in test_parse_fresh() 172 …dtf = builder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decim… in test_parse_fresh() 178 assertTrue(subsequentWidth >= 0); in test_parse_fresh() 179 assertEquals(ppos.getIndex(), expectedPos + subsequentWidth); in test_parse_fresh() local 187 …parse_textField(int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth, String text,… in test_parse_textField() argument 190 if (subsequentWidth > 0) { in test_parse_textField() 192 …dtf = builder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decim… in test_parse_textField() 198 assertTrue(subsequentWidth >= 0); in test_parse_textField() 199 assertEquals(ppos.getIndex(), expectedPos + subsequentWidth); in test_parse_textField() local
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 2486 final int subsequentWidth; field in DateTimeFormatterBuilder.NumberPrinterParser 2502 this.subsequentWidth = 0; in NumberPrinterParser() 2515 …Parser(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth) { in NumberPrinterParser() argument 2521 this.subsequentWidth = subsequentWidth; in NumberPrinterParser() 2530 if (subsequentWidth == -1) { in withFixedWidth() 2542 NumberPrinterParser withSubsequentWidth(int subsequentWidth) { in withSubsequentWidth() argument 2543 … NumberPrinterParser(field, minWidth, maxWidth, signStyle, this.subsequentWidth + subsequentWidth); in withSubsequentWidth() 2612 return subsequentWidth == -1 || in isFixedWidth() 2613 … (subsequentWidth > 0 && minWidth == maxWidth && signStyle == SignStyle.NOT_NEGATIVE); in isFixedWidth() 2647 …idth = (context.isStrict() || isFixedWidth(context) ? maxWidth : 9) + Math.max(subsequentWidth, 0); in parse() [all …]
|