src/WeekView.js
/**
   * Generates an array of the days for this week.
   * This uses the passed in startingDate as the first day of the array
   * so as to keep the CalendarDays working as a PureComponent
   *
   * @param {moment} startingDate
   *  The starting date for this week
   * @returns {Array<moment>}
   *  An array of moment instances representing the week
   *
   * @memberof WeekView
   */
Generates an array of the days for this week.
This uses the passed in startingDate as the first day of the array
so as to keep the CalendarDays working as a PureComponent

@param {moment} startingDate
The starting date for this week
@returns {Array}
An array of moment instances representing the week


Generates an array of the days for this week . This uses the passed in startingDate as the first day of the array so as to keep the CalendarDays working as a PureComponent @param { moment } startingDate The starting date for this week @returns { Array } An array of moment instances representing the week
generateArrDays(startingDate) {
    return [
      startingDate,
      ...DAYS_TO_GENERATE_ARRAY.map(i => startingDate.clone().add(i, "days"))
    ];
  }
generateArrDays ( startingDate ) { return [ startingDate , ... DAYS_TO_GENERATE_ARRAY . map ( i => startingDate . clone ( ) . add ( i , "days" ) ) ] ; }
Generates an array of the days for this week.
Generates an array of the days for this week .