Home
last modified time | relevance | path

Searched refs:NOT_NEGATIVE (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNumberParser.java242 {"0", 1, 2, SignStyle.NOT_NEGATIVE, 1, 0}, in provider_parseSignsStrict()
243 {"5", 1, 2, SignStyle.NOT_NEGATIVE, 1, 5}, in provider_parseSignsStrict()
244 {"50", 1, 2, SignStyle.NOT_NEGATIVE, 2, 50}, in provider_parseSignsStrict()
245 {"500", 1, 2, SignStyle.NOT_NEGATIVE, 2, 50}, in provider_parseSignsStrict()
246 {"-0", 1, 2, SignStyle.NOT_NEGATIVE, 0, null}, in provider_parseSignsStrict()
247 {"-5", 1, 2, SignStyle.NOT_NEGATIVE, 0, null}, in provider_parseSignsStrict()
248 {"-50", 1, 2, SignStyle.NOT_NEGATIVE, 0, null}, in provider_parseSignsStrict()
249 {"-500", 1, 2, SignStyle.NOT_NEGATIVE, 0, null}, in provider_parseSignsStrict()
250 {"-AAA", 1, 2, SignStyle.NOT_NEGATIVE, 0, null}, in provider_parseSignsStrict()
251 {"+0", 1, 2, SignStyle.NOT_NEGATIVE, 0, null}, in provider_parseSignsStrict()
[all …]
DTestNumberPrinter.java187 …getFormatter(DAY_OF_MONTH, minPad, maxPad, SignStyle.NOT_NEGATIVE).formatTo(new MockFieldValue(DAY… in test_pad_NOT_NEGATIVE()
275 …assertEquals(getFormatter(HOUR_OF_DAY, 2, 2, SignStyle.NOT_NEGATIVE).toString(), "Value(HourOfDay,…
279 …assertEquals(getFormatter(HOUR_OF_DAY, 1, 2, SignStyle.NOT_NEGATIVE).toString(), "Value(HourOfDay,…
DTestDateTimeFormatter.java103 .appendValue(DAY_OF_MONTH, 1, 2, SignStyle.NOT_NEGATIVE) in test_withLocale_same()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKSignStyle.java103 {LocalDate.of(2001, 10, 2), SignStyle.NOT_NEGATIVE, null, "2001"}, in data_signStyle()
104 {LocalDate.of(-2001, 10, 2), SignStyle.NOT_NEGATIVE, DateTimeException.class, ""}, in data_signStyle()
114 {LocalDate.of(20001, 10, 2), SignStyle.NOT_NEGATIVE, DateTimeException.class, ""}, in data_signStyle()
DTCKDateTimeFormatter.java130 .appendValue(DAY_OF_MONTH, 1, 2, SignStyle.NOT_NEGATIVE) in setUp()
/libcore/ojluni/src/main/java/java/time/format/
DSignStyle.java106 NOT_NEGATIVE, enumConstant
DDateTimeFormatterBuilder.java449 … NumberPrinterParser pp = new NumberPrinterParser(field, width, width, SignStyle.NOT_NEGATIVE); in appendValue()
487 if (minWidth == maxWidth && signStyle == SignStyle.NOT_NEGATIVE) { in appendValue()
635 if (pp.minWidth == pp.maxWidth && pp.signStyle == SignStyle.NOT_NEGATIVE) { in appendValue()
2577 case NOT_NEGATIVE: in format()
2610 … (subsequentWidth > 0 && minWidth == maxWidth && signStyle == SignStyle.NOT_NEGATIVE); in isFixedWidth()
2733 if (minWidth == maxWidth && signStyle == SignStyle.NOT_NEGATIVE) { in toString()
2798 super(field, minWidth, maxWidth, SignStyle.NOT_NEGATIVE, subsequentWidth); in ReducedPrinterParser()
4508 return new NumberPrinterParser(field, (count == 2 ? 2 : 1), 2, SignStyle.NOT_NEGATIVE); in printerParser()
DDateTimeFormatter.java1249 .appendValue(DAY_OF_MONTH, 1, 2, SignStyle.NOT_NEGATIVE)