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 | 610 TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate) { in appendValueReduced() argument 612 Objects.requireNonNull(baseDate, "baseDate"); in appendValueReduced() 613 ReducedPrinterParser pp = new ReducedPrinterParser(field, width, maxWidth, 0, baseDate); in appendValueReduced() 2754 private final ChronoLocalDate baseDate; field in DateTimeFormatterBuilder.ReducedPrinterParser 2766 int baseValue, ChronoLocalDate baseDate) { in ReducedPrinterParser() argument 2767 this(field, minWidth, maxWidth, baseValue, baseDate, 0); in ReducedPrinterParser() 2778 if (baseDate == null) { in ReducedPrinterParser() 2800 int baseValue, ChronoLocalDate baseDate, int subsequentWidth) { in ReducedPrinterParser() argument 2803 this.baseDate = baseDate; in ReducedPrinterParser() 2810 if (baseDate != null) { in getValue() [all …]
|