PHP Class Yasumi\Provider\Germany

Inheritance: extends AbstractProvider, use trait CommonHolidays, use trait ChristianHolidays
Show file Open project: azuyalabs/yasumi Class Usage Examples

Public Methods

Method Description
calculateGermanUnityDay ( ) German Unity Day.
calculateReformationDay ( ) Calculates the day of the reformation.
initialize ( ) Initialize holidays for Germany.

Method Details

calculateGermanUnityDay() public method

The Day of German Unity (German: Tag der Deutschen Einheit) is the national day of Germany, celebrated on 3 October as a public holiday. It commemorates the anniversary of German reunification in 1990, when the goal of a united Germany that originated in the middle of the 19th century, was fulfilled again. Therefore, the name addresses neither the re-union nor the union, but the unity of Germany. The Day of German Unity on 3 October has been the German national holiday since 1990, when the reunification was formally completed. It is a legal holiday for the Federal Republic of Germany.

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.

initialize() public method

Initialize holidays for Germany.
public initialize ( )