Home
last modified time | relevance | path

Searched refs:signStyle (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DAbstractTestPrinterParser.java136 …eTimeFormatter getFormatter(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle) { in getFormatter() argument
137 …return builder.appendValue(field, minWidth, maxWidth, signStyle).toFormatter(locale).withDecimalSt… in getFormatter()
DTestNumberParser.java167 …public void test_parse_fresh(int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth,… in test_parse_fresh() argument
169 DateTimeFormatter dtf = getFormatter(DAY_OF_MONTH, minWidth, maxWidth, signStyle); in test_parse_fresh()
187 …public void test_parse_textField(int minWidth, int maxWidth, SignStyle signStyle, int subsequentWi… in test_parse_textField() argument
189 DateTimeFormatter dtf = getFormatter(DAY_OF_WEEK, minWidth, maxWidth, signStyle); in test_parse_textField()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java489 TemporalField field, int minWidth, int maxWidth, SignStyle signStyle) { in appendValue() argument
490 if (minWidth == maxWidth && signStyle == SignStyle.NOT_NEGATIVE) { in appendValue()
494 Objects.requireNonNull(signStyle, "signStyle"); in appendValue()
505 NumberPrinterParser pp = new NumberPrinterParser(field, minWidth, maxWidth, signStyle); in appendValue()
638 if (pp.minWidth == pp.maxWidth && pp.signStyle == SignStyle.NOT_NEGATIVE) { in appendValue()
2485 private final SignStyle signStyle; field in DateTimeFormatterBuilder.NumberPrinterParser
2496 NumberPrinterParser(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle) { in NumberPrinterParser() argument
2501 this.signStyle = signStyle; in NumberPrinterParser()
2515 …rinterParser(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle, int subsequentW… in NumberPrinterParser() argument
2520 this.signStyle = signStyle; in NumberPrinterParser()
[all …]