function RemoveDay(Day $day)
    {
        $result = array();
        foreach ($this->days as $currentDay)
        {
            if ($currentDay->DayOfWeek != $day->DayOfWeek())
                $result[] = $currentDay;
        }
        $this->days = $result;
    }
function RemoveDay(Day $day)
    {
        $result = array();
        foreach ($this->days as $currentDay)
        {
            if ($currentDay->DayOfWeek != $day->DayOfWeek())
                $result[] = $currentDay;
        }
        $this->days = $result;
    }
function RemoveDay ( Day $ day ) { $ result = array ( ) ; foreach ( $ this -> days as $ currentDay ) { if ( $ currentDay -> DayOfWeek != $ day -> DayOfWeek ( ) ) $ result [ ] = $ currentDay ; } $ this -> days = $ result ; }
Removes a day from the list of days, if added before
@param Day $day
Removes a day from the list of days if added before