MoustafaEid/Boy-Scouts-Scheduler — Issue #22: Modifying Schedules Mid Week
Author: edwards708
Created: 2012-02-29 05:10:34+00:00
State: open

As we talked today about the model changes, my suggestion is to pass three more paramaters to the Schedule method. Here are the new paramaters in the order of appearance after the Timeslots variavke:
boolean buildScheduleFromScratch
IEeumarable oldSchedule
TimeSlot currentTimeSlot
if variable buildScheduleFromScratch is set to true, we'll disregard the passed schedule ( you can even pass NULL as a schedule ) and we'll return one Monday to Friday. Otherwise, we'll return a new schedule where all the time slots before currentTimeSlot have the same activities in the oldSchedule, and all the time slots after that will be changed.