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
Mostrar archivo Open project: azuyalabs/yasumi

Public Methods

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

Christmas Day.

calculateConstitutionDay() public method

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

calculateDefenderOfUkraineDay() public method

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 method

public calculateEaster ( integer $year, string $timezone ) : Datetime
$year integer
$timezone string
return Datetime

calculateIndependenceDay() public method

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 method

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

calculateSecondInternationalWorkersDay() public method

International Workers' Day.

calculateVictoryDay() public method

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 method

Initialize holidays for Poland.
public initialize ( )