function RemoveHour(Hour $hour)
    {
        $result = array();
        foreach ($this->hours as $currentHour)
        {
            if ($currentHour->Hour != $hour->Hour)
                $result[] = $currentHour;
        }
        $this->hours = $result;
    }
function RemoveHour(Hour $hour)
    {
        $result = array();
        foreach ($this->hours as $currentHour)
        {
            if ($currentHour->Hour != $hour->Hour)
                $result[] = $currentHour;
        }
        $this->hours = $result;
    }
function RemoveHour ( Hour $ hour ) { $ result = array ( ) ; foreach ( $ this -> hours as $ currentHour ) { if ( $ currentHour -> Hour != $ hour -> Hour ) $ result [ ] = $ currentHour ; } $ this -> hours = $ result ; }
Removes an hour from the list of hours, if present
@param Hour $hour
@return void
Removes an hour from the list of hours if present