protected function getEasterDates($year, $orthodox = false)
    {
        $easterSunday = $orthodox ? $this->createOrthodoxSunday($year) :  $this->createSunday($year);

        $easterSunday->setTimezone(new \DateTimeZone(date_default_timezone_get()));

        $easterMonday = clone $easterSunday;
        $easterMonday->modify('+1 day');
        $maundyThursday = clone $easterSunday;
        $maundyThursday->modify('-3 days');
        $goodFriday = clone $easterSunday;
        $goodFriday->modify('-2 days');
        $saturday = clone $easterSunday;
        $saturday->modify('-1 days');
        $ascensionDay = clone $easterSunday;
        $ascensionDay->modify('+39 days');
        $shroveTuesday = clone $easterSunday;
        $shroveTuesday->modify('-47 days');


        $pentecostSunday = clone $easterSunday;
        $pentecostSunday->modify('+49 days');
        $pentecostMonday = clone $pentecostSunday;
        $pentecostMonday->modify('+1 days');
        $pentecostSaturday = clone $pentecostSunday;
        $pentecostSaturday->modify('-1 days');
        $corpusChristi = clone $easterSunday;
        $corpusChristi->modify('+60 days');

        return array(
            'shroveTuesday' => $shroveTuesday,
            'maundyThursday' => $maundyThursday,
            'easterSunday' => $easterSunday,
            'easterMonday' => $easterMonday,
            'saturday' => $saturday,
            'goodFriday' => $goodFriday,
            'ascensionDay' => $ascensionDay,
            'pentecostSaturday' => $pentecostSaturday,
            'pentecostSunday' => $pentecostSunday,
            'pentecostMonday' => $pentecostMonday,
            'corpusChristi' => $corpusChristi
        );
    }
protected function getEasterDates($year, $orthodox = false)
    {
        $easterSunday = $orthodox ? $this->createOrthodoxSunday($year) :  $this->createSunday($year);

        $easterSunday->setTimezone(new \DateTimeZone(date_default_timezone_get()));

        $easterMonday = clone $easterSunday;
        $easterMonday->modify('+1 day');
        $maundyThursday = clone $easterSunday;
        $maundyThursday->modify('-3 days');
        $goodFriday = clone $easterSunday;
        $goodFriday->modify('-2 days');
        $saturday = clone $easterSunday;
        $saturday->modify('-1 days');
        $ascensionDay = clone $easterSunday;
        $ascensionDay->modify('+39 days');
        $shroveTuesday = clone $easterSunday;
        $shroveTuesday->modify('-47 days');


        $pentecostSunday = clone $easterSunday;
        $pentecostSunday->modify('+49 days');
        $pentecostMonday = clone $pentecostSunday;
        $pentecostMonday->modify('+1 days');
        $pentecostSaturday = clone $pentecostSunday;
        $pentecostSaturday->modify('-1 days');
        $corpusChristi = clone $easterSunday;
        $corpusChristi->modify('+60 days');

        return array(
            'shroveTuesday' => $shroveTuesday,
            'maundyThursday' => $maundyThursday,
            'easterSunday' => $easterSunday,
            'easterMonday' => $easterMonday,
            'saturday' => $saturday,
            'goodFriday' => $goodFriday,
            'ascensionDay' => $ascensionDay,
            'pentecostSaturday' => $pentecostSaturday,
            'pentecostSunday' => $pentecostSunday,
            'pentecostMonday' => $pentecostMonday,
            'corpusChristi' => $corpusChristi
        );
    }
protected function getEasterDates ( $ year , $ orthodox = false ) { $ easterSunday = $ orthodox ? $ this -> createOrthodoxSunday ( $ year ) : $ this -> createSunday ( $ year ) ; $ easterSunday -> setTimezone ( new \ DateTimeZone ( date_default_timezone_get ( ) ) ) ; $ easterMonday = clone $ easterSunday ; $ easterMonday -> modify ( '+1 day' ) ; $ maundyThursday = clone $ easterSunday ; $ maundyThursday -> modify ( '-3 days' ) ; $ goodFriday = clone $ easterSunday ; $ goodFriday -> modify ( '-2 days' ) ; $ saturday = clone $ easterSunday ; $ saturday -> modify ( '-1 days' ) ; $ ascensionDay = clone $ easterSunday ; $ ascensionDay -> modify ( '+39 days' ) ; $ shroveTuesday = clone $ easterSunday ; $ shroveTuesday -> modify ( '-47 days' ) ; $ pentecostSunday = clone $ easterSunday ; $ pentecostSunday -> modify ( '+49 days' ) ; $ pentecostMonday = clone $ pentecostSunday ; $ pentecostMonday -> modify ( '+1 days' ) ; $ pentecostSaturday = clone $ pentecostSunday ; $ pentecostSaturday -> modify ( '-1 days' ) ; $ corpusChristi = clone $ easterSunday ; $ corpusChristi -> modify ( '+60 days' ) ; return array ( 'shroveTuesday' => $ shroveTuesday , 'maundyThursday' => $ maundyThursday , 'easterSunday' => $ easterSunday , 'easterMonday' => $ easterMonday , 'saturday' => $ saturday , 'goodFriday' => $ goodFriday , 'ascensionDay' => $ ascensionDay , 'pentecostSaturday' => $ pentecostSaturday , 'pentecostSunday' => $ pentecostSunday , 'pentecostMonday' => $ pentecostMonday , 'corpusChristi' => $ corpusChristi ) ; }
Returns all dates calculated by easter sunday

@param int $year
@param boolean $orthodox

@return \DateTime[]
Returns all dates calculated by easter sunday