Searched refs:baseDate (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 1060 public void test_addTo(Period period, LocalDate baseDate, LocalDate expected) { in test_addTo() argument 1061 assertEquals(period.addTo(baseDate), expected); in test_addTo() 1065 … public void test_addTo_usingLocalDatePlus(Period period, LocalDate baseDate, LocalDate expected) { in test_addTo_usingLocalDatePlus() argument 1066 assertEquals(baseDate.plus(period), expected); in test_addTo_usingLocalDatePlus() 1113 public void test_subtractFrom(Period period, LocalDate baseDate, LocalDate expected) { in test_subtractFrom() argument 1114 assertEquals(period.subtractFrom(baseDate), expected); in test_subtractFrom() 1118 …public void test_subtractFrom_usingLocalDateMinus(Period period, LocalDate baseDate, LocalDate exp… in test_subtractFrom_usingLocalDateMinus() argument 1119 assertEquals(baseDate.minus(period), expected); in test_subtractFrom_usingLocalDateMinus()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 619 TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate) { in appendValueReduced() argument 621 Objects.requireNonNull(baseDate, "baseDate"); in appendValueReduced() 622 ReducedPrinterParser pp = new ReducedPrinterParser(field, width, maxWidth, 0, baseDate); in appendValueReduced() 2763 private final ChronoLocalDate baseDate; field in DateTimeFormatterBuilder.ReducedPrinterParser 2775 int baseValue, ChronoLocalDate baseDate) { in ReducedPrinterParser() argument 2776 this(field, minWidth, maxWidth, baseValue, baseDate, 0); in ReducedPrinterParser() 2787 if (baseDate == null) { in ReducedPrinterParser() 2809 int baseValue, ChronoLocalDate baseDate, int subsequentWidth) { in ReducedPrinterParser() argument 2812 this.baseDate = baseDate; in ReducedPrinterParser() 2819 if (baseDate != null) { in getValue() [all …]
|