peek method

DateTime peek(
  1. int index
)

Returns the date of this weekday index weeks in the future. 0 means the next date (including today), 1 means the date after the next date, etc.

Implementation

DateTime peek(int index) {
  return futureDates(index).last;
}