title: What is the simplest data-structure here to provide needed amount of info?
body: <p>How would you <strong>construct a data-structure</strong> -represented as Schedule class below- which would give you enough information in order to provide your ExtensionMethod a simple and enough information so that it can set testResult_# variables.</p>
  
  <p><strong>Note that</strong> : I am not asking how to implement GetScheduleById(string) method but asking for defining the Schedule data-structure in aw way that it can be simple as much as possible by providing all the needed info to this method.</p>
  
  <pre><code>var datetimeUnderTest = DateTime.Now;
  Schedule workingDaysSchedule = ScheduleRepository.GetScheduleById("dubaiWorkingDays");
  Schedule workingHoursSchedule = ScheduleRepository.GetScheduleById("usaWorkingHours");
  Schedule winterSchedule = ScheduleRepository.GetScheduleById("brasilWinter");
  Schedule nightsInWeekendSchedule = ScheduleRepository.GetScheduleById("NightsInWeekends");
  Schedule nightsInWeekDaysSchedule = ScheduleRepository.GetScheduleById("NightsInWeekDays");
  
  // IsInSchedule is an Extension method on DateTime
  bool testResult_0 = datetimeUnderTest.IsInSchedule(workingDaysSchedule ); 
  bool testResult_1= datetimeUnderTest.IsInSchedule(workingHoursSchedule ); 
  bool testResult_2 = datetimeUnderTest.IsInSchedule(winterSchedule); 
  bool testResult_3 = datetimeUnderTest.IsInSchedule(nightsInWeekendSchedule ); 
  bool testResult_4 = datetimeUnderTest.IsInSchedule(nightsInWeekDaysSchedule ); 
  </code></pre>
  
  <p>Thanks!</p>