public function __construct($name, $timeWindows)
 {
     $this->name = $name;
     foreach ($timeWindows as $timeWindow) {
         $this->addTimeWindow(TimeWindow::create($timeWindow['startTime'], $timeWindow['endTime']));
     }
 }