private void getDailyDates ( Calendar calendar , int frequency , List < Date > dates ) { while ( moreDates ( calendar , dates ) ) { dates . add ( calendar . getTime ( ) ) ; calendar . add ( Calendar . DAY_OF_YEAR , frequency ) ; } }
Calculate start dates for a daily recurrence .