Yasumi\Provider\Germany::calculateReformationDay PHP Method

calculateReformationDay() public method

Reformation Day is a religious holiday celebrated on October 31, alongside All Hallows' Eve, in remembrance of the Reformation. It is celebrated among various Protestants, especially by Lutheran and Reformed church communities. It is a civic holiday in the German states of Brandenburg, Mecklenburg-Vorpommern, Saxony, Saxony-Anhalt and Thuringia. Slovenia celebrates it as well due to the profound contribution of the Reformation to that nation's cultural development, although Slovenes are mainly Roman Catholics. With the increasing influence of Protestantism in Latin America (particularly newer groups such as various Evangelical Protestants, Pentecostals or Charismatics), it has been declared a national holiday in Chile in 2009.
    public function calculateReformationDay()
    {
        $this->addHoliday(new Holiday('reformationDay', ['de_DE' => 'Reformationstag'], new DateTime("{$this->year}-10-31", new DateTimeZone($this->timezone)), $this->locale, Holiday::TYPE_OBSERVANCE));
    }