PHP Class Yasumi\Provider\Greece

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

Public Methods

Method 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 method

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 method

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
return Datetime date of Orthodox Easter

calculateIndependenceDay() public method

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

calculateOhiDay() public method

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

calculatePolytechnio() public method

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

calculateThreeHolyHierarchs() public method

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 method

Initialize holidays for Greece.
public initialize ( )