106107108109110111112113114115116
// loop through dates/times while(count-- > 0) { result.add(d1); d1 = (AbstractDateTimeValue)d1.plus(diff); } return result; } }