PHP Class Yasumi\Provider\Sweden

Inheritance: extends AbstractProvider, use trait CommonHolidays, use trait ChristianHolidays
Mostrar archivo Open project: azuyalabs/yasumi

Public Methods

Method Description
calculateNationalDay ( ) * National Day
calculatestJohnsDay ( ) St. John's Day / Midsummer.
initialize ( ) Initialize holidays for Sweden.

Private Methods

Method Description
calculateAllSaintsDay ( ) All Saints Day.

Method Details

calculateNationalDay() public method

National Day of Sweden (Sveriges nationaldag) is a national holiday observed in Sweden on 6 June every year. Prior to 1983, the day was celebrated as Svenska flaggans dag (Swedish flag day). At that time, the day was renamed to the national day by the Riksdag. The tradition of celebrating this date began 1916 at the Stockholm Olympic Stadium, in honour of the election of King Gustav Vasa in 1523, as this was considered the foundation of modern Sweden.

calculatestJohnsDay() public method

Midsummer, also known as St John's Day, is the period of time centred upon the summer solstice, and more specifically the Northern European celebrations that accompany the actual solstice or take place on a day between June 19 and June 25 and the preceding evening. The exact dates vary between different cultures. The Christian Church designated June 24 as the feast day of the early Christian martyr St John the Baptist, and the observance of St John's Day begins the evening before, known as St John's Eve. In Sweden the holiday has always been on a Saturday (between June 20 and June 26). Many of the celebrations of midsummer take place on midsummer eve, when many workplaces are closed and shops must close their doors at noon.
public calculatestJohnsDay ( )

initialize() public method

Initialize holidays for Sweden.
public initialize ( )