PHP Class Yasumi\Provider\Portugal

Inheritance: extends AbstractProvider, use trait CommonHolidays, use trait ChristianHolidays
Datei anzeigen Open project: azuyalabs/yasumi

Public Methods

Method Description
calculateAllSaintsDay ( ) In Portugal, between 2013 andd 2015 (inclusive) this holiday did not happen due to government deliberation.
calculateCarnationRevolutionDay ( )
calculateCorpusChristi ( ) In Portugal, between 2013 andd 2015 (inclusive) this holiday did not happen due to government deliberation.
calculatePortugalDay ( ) Day of Portugal, Camões and the Portuguese Communities / Dia de Portugal, de Camões e das Comunidades Portuguesas
calculatePortugueseRepublicDay ( ) Establishment of the Portuguese Republic / Implantação da República Portuguesa
calculateRestorationOfIndependenceDay ( ) Restoration of Independence / Reguesstauração da Independência
initialize ( ) Initialize holidays for Portugal.

Method Details

calculateAllSaintsDay() public method

It was restored in 2016.

calculateCarnationRevolutionDay() public method

calculateCorpusChristi() public method

It was restored in 2016.

calculatePortugalDay() public method

The Wikipedia article mentions that this holiday changed names during the Portuguese dictatorship that ran between 1933 and 1974 (ended with the Carnation Revolution). This is the name that is currently standing. Portugal Day, officially Day of Portugal, Camões, and the Portuguese Communities (Portuguese: Dia de Portugal, de Camões e das Comunidades Portuguesas), is Portugal's National Day celebrated annually on 10 June. Although officially observed only in Portugal, Portuguese citizens and emigrants throughout the world celebrate this holiday. The date commemorates the death of national literary icon Luís de Camões on 10 June 1580.

calculatePortugueseRepublicDay() public method

The establishment of the Portuguese Republic was the result of a coup d'état organised by the Portuguese Republican Party which, on 5 October 1910, deposed the constitutional monarchy and established a republican regime in Portugal. The subjugation of the country to British colonial interests, the royal family's expenses, the power of the Church, the political and social instability, the system of alternating power of the two political parties (Progressive and Regenerador), João Franco's dictatorship, an apparent inability to adapt to modern times – all contributed to an unrelenting erosion of the Portuguese monarchy. The proponents of the republic, particularly the Republican Party, found ways to take advantage of the situation. The Republican Party presented itself as the only one that had a programme that was capable of returning to the country its lost status and place Portugal on the way of progress.

calculateRestorationOfIndependenceDay() public method

There is no Wikipedia article referencing this holiday directly so we are using the War that motivated the holiday instead until we can find something better. The Portuguese Restoration War (Portuguese: Guerra da Restauração; Spanish: Guerra de Restauración portuguesa) was the name given by nineteenth-century 'romantic' historians to the war between Portugal and Spain that began with the Portuguese revolution of 1640 and ended with the Treaty of Lisbon in 1668. The revolution of 1640 ended the 60-year rule of Portugal by the Spanish Habsburgs. The period from 1640 to 1668 was marked by periodic skirmishes between Portugal and Spain, as well as short episodes of more serious warfare, much of it occasioned by Spanish and Portuguese entanglements with non-Iberian powers. Spain was involved in the Thirty Years' War until 1648 and the Franco–Spanish War until 1659, while Portugal was involved in the Dutch–Portuguese War until 1663. In the seventeenth century and afterwards, this period of sporadic conflict was simply known, in Portugal and elsewhere, as the Acclamation War. The war established the House of Braganza as Portugal's new ruling dynasty, replacing the House of Habsburg. This ended the so-called Iberian Union.

initialize() public method

Initialize holidays for Portugal.
public initialize ( )