PHP Класс Yasumi\Provider\Sweden

Наследование: extends AbstractProvider, use trait CommonHolidays, use trait ChristianHolidays
Показать файл Открыть проект

Открытые методы

Метод Описание
calculateNationalDay ( ) * National Day
calculatestJohnsDay ( ) St. John's Day / Midsummer.
initialize ( ) Initialize holidays for Sweden.

Приватные методы

Метод Описание
calculateAllSaintsDay ( ) All Saints Day.

Описание методов

calculateNationalDay() публичный Метод

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() публичный Метод

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() публичный Метод

Initialize holidays for Sweden.
public initialize ( )