PHP Класс Yasumi\Provider\Finland

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

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

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

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

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

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

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

Finland's Independence Day (Finnish: itsenäisyyspäivä, Swedish: självständighetsdagen) is a national public holiday, and a flag day, held on 6 December to celebrate Finland's declaration of independence from the Russian Republic in 1917. Independence Day was first celebrated in 1917. However, during the first years of independence, 6 December in some parts of Finland was only a minor holiday compared to 16 May, the Whites' day of celebration for prevailing in the Finnish Civil War.

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 Finland since 1955, the holiday has always been on a Saturday (between June 20 and June 26). Earlier it was always on June 24. 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 Finland.
public initialize ( )