. "" . Soorapadman , (19 ), , - 29 . , 28-, 29 , .
, . 31 28 ( 29), 28 28 . , , , .
:
public List<LocalDate> datesBetween(LocalDate start, LocalDate end, Period period);
List<LocalDate> list = new ArrayList<>();
int multiplier = 1;
LocalDate current = start;
while (!current.isAfter(end)) {
current = start.plus(period.multipliedBy(multiplier);
list.add(current);
multiplier++;
}
return list;
}
, . . .