PHP Class Yasumi\Provider\Ukraine

https://en.wikipedia.org/wiki/Public_holidays_in_Ukraine Class Ukraine
Author: Dmitry Machin ([email protected])
Inheritance: extends AbstractProvider, use trait CommonHolidays, use trait ChristianHolidays
Afficher le fichier Open project: azuyalabs/yasumi

Méthodes publiques

Méthode Description
calculateChristmasDay ( ) Christmas Day.
calculateConstitutionDay ( ) Constitution Day
calculateDefenderOfUkraineDay ( ) Defender of Ukraine Day
calculateEaster ( integer $year, string $timezone ) : Datetime
calculateIndependenceDay ( ) Constitution Day
calculateInternationalWomensDay ( ) International Women's Day.
calculateSecondInternationalWorkersDay ( ) International Workers' Day.
calculateVictoryDay ( ) Victory Day over Nazism in World War II
initialize ( ) Initialize holidays for Poland.

Method Details

calculateChristmasDay() public méthode

Christmas Day.

calculateConstitutionDay() public méthode

Constitution Day (Ukrainian: День Конституції) is an Ukrainian public holiday celebrated on 28 June since 1996.

calculateDefenderOfUkraineDay() public méthode

Defender of Ukraine Day (Ukrainian: День захисника України, Denʹ zakhysnyka Ukrayiny) is a state holiday in Ukraine celebrated annually on October 14. Its first celebration was in 2015. Starting from 2015, this day is considered a public holiday (this is thus a day off in Ukraine)

calculateEaster() public méthode

public calculateEaster ( integer $year, string $timezone ) : Datetime
$year integer
$timezone string
Résultat Datetime

calculateIndependenceDay() public méthode

The Act of Declaration of Independence of Ukraine (Ukrainian: Акт проголошення незалежності України, translit. Akt proholoshennya nezalezhnosti Ukrayiny) was adopted by the Ukrainian parliament on 24 August 1991. The Act established Ukraine as an independent state.

calculateInternationalWomensDay() public méthode

International Women's Day (IWD), originally called International Working Women's Day, is celebrated on March 8 every year.

calculateSecondInternationalWorkersDay() public méthode

International Workers' Day.

calculateVictoryDay() public méthode

Victory Day over Nazism in World War II (Ukrainian: День перемоги над нацизмом у Другій світовій війні) or Victory Day (Ukrainian: День перемоги) is a national holiday and a day off in Ukraine. It was first celebrated on 9 May 2015 and follows the Day of Remembrance and Reconciliation on May 8. The holiday replaced the Soviet "Victory Day", which was celebrated in the post-Soviet Union states, including Ukraine, until 2014 inclusive.
public calculateVictoryDay ( )

initialize() public méthode

Initialize holidays for Poland.
public initialize ( )