public function AddBlackout(Blackout $blackout) { $this->blackouts[$this->ToKey($blackout->Date())] = $blackout; }