Searched refs:baseDate (Results 1 - 2 of 2) sorted by relevance

/openjdk10/jdk/test/java/time/tck/java/time/
H A DTCKPeriod.java1060 public void test_addTo(Period period, LocalDate baseDate, LocalDate expected) { argument
1061 assertEquals(period.addTo(baseDate), expected);
1065 public void test_addTo_usingLocalDatePlus(Period period, LocalDate baseDate, LocalDate expected) { argument
1066 assertEquals(baseDate.plus(period), expected);
1113 public void test_subtractFrom(Period period, LocalDate baseDate, LocalDate expected) { argument
1114 assertEquals(period.subtractFrom(baseDate), expected);
1118 public void test_subtractFrom_usingLocalDateMinus(Period period, LocalDate baseDate, LocalDate expected) { argument
1119 assertEquals(baseDate.minus(period), expected);
/openjdk10/jdk/src/java.base/share/classes/java/time/format/
H A DDateTimeFormatterBuilder.java603 * @param baseDate the base date used to calculate the base value for the range
609 TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate) {
611 Objects.requireNonNull(baseDate, "baseDate");
612 ReducedPrinterParser pp = new ReducedPrinterParser(field, width, maxWidth, 0, baseDate);
2891 private final ChronoLocalDate baseDate; field in class:DateTimeFormatterBuilder.ReducedPrinterParser
2900 * @param baseDate the base date
2903 int baseValue, ChronoLocalDate baseDate) {
2904 this(field, minWidth, maxWidth, baseValue, baseDate, 0);
2915 if (baseDate
608 appendValueReduced( TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate) argument
2902 ReducedPrinterParser(TemporalField field, int minWidth, int maxWidth, int baseValue, ChronoLocalDate baseDate) argument
2936 ReducedPrinterParser(TemporalField field, int minWidth, int maxWidth, int baseValue, ChronoLocalDate baseDate, int subsequentWidth) argument
[all...]

Completed in 49 milliseconds