PHP Класс Yasumi\Provider\Greece

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

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

Метод Описание
calculateCleanMonday ( ) Clean Monday.
calculateEaster ( integer $year, string $timezone ) : Datetime Calculate the Easter date for Orthodox churches.
calculateIndependenceDay ( ) * Independence Day.
calculateOhiDay ( ) * Ohi Day.
calculatePolytechnio ( ) * Polytechnio.
calculateThreeHolyHierarchs ( ) The Three Holy Hierarchs.
initialize ( ) Initialize holidays for Greece.

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

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

Also known as Pure Monday, Ash Monday, Monday of Lent or Green Monday, it is the first day of Great Lent in the Eastern Orthodox Christian. It is a movable feast that occurs at the beginning of the 7th week before Orthodox Easter Sunday.
См. также: https://en.wikipedia.org/wiki/Clean_Monday

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

Calculate the Easter date for Orthodox churches.
public calculateEaster ( integer $year, string $timezone ) : Datetime
$year integer the year for which Easter needs to be calculated
$timezone string the timezone in which Easter is celebrated
Результат Datetime date of Orthodox Easter

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

Anniversary of the declaration of the start of Greek War of Independence from the Ottoman Empire, in 1821.

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

Celebration of the Greek refusal to the Italian ultimatum of 1940.
public calculateOhiDay ( )

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

Anniversary of the 1973 students protests against the junta of the colonels (1967–1974).

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

Commemoration of the patron saints of education (St. Basil the Great, St. Gregory the Theologian, St. John Chrysostom).
См. также: https://en.wikipedia.org/wiki/Three_Holy_Hierarchs

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

Initialize holidays for Greece.
public initialize ( )