function AddHour(Hour $hour)
    {
        foreach ($this->hours as $currentHour)
        {
            if ($currentHour->Hour == $hour->Hour)
                return;
        }
        $this->hours[] = $hour;
    }
function AddHour(Hour $hour)
    {
        foreach ($this->hours as $currentHour)
        {
            if ($currentHour->Hour == $hour->Hour)
                return;
        }
        $this->hours[] = $hour;
    }
function AddHour ( Hour $ hour ) { foreach ( $ this -> hours as $ currentHour ) { if ( $ currentHour -> Hour == $ hour -> Hour ) return ; } $ this -> hours [ ] = $ hour ; }
Adds an hour, if not already added
@param Hour $hour
@return void
Adds an hour if not already added