PHP Class Yasumi\Provider\Greece

Inheritance: extends AbstractProvider, use trait CommonHolidays, use trait ChristianHolidays
Afficher le fichier Open project: azuyalabs/yasumi

Méthodes publiques

Méthode Description
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.

Method Details

calculateCleanMonday() public méthode

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.
See also: https://en.wikipedia.org/wiki/Clean_Monday

calculateEaster() public méthode

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
Résultat Datetime date of Orthodox Easter

calculateIndependenceDay() public méthode

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

calculateOhiDay() public méthode

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

calculatePolytechnio() public méthode

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

calculateThreeHolyHierarchs() public méthode

Commemoration of the patron saints of education (St. Basil the Great, St. Gregory the Theologian, St. John Chrysostom).
See also: https://en.wikipedia.org/wiki/Three_Holy_Hierarchs

initialize() public méthode

Initialize holidays for Greece.
public initialize ( )