PHP Class Yasumi\Provider\Spain

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

Public Methods

Method Description
calculateConstitutionDay ( ) * Day of Constitution.
calculateNationalDay ( ) * National Day.
initialize ( ) Initialize holidays for Spain.

Method Details

calculateConstitutionDay() public method

Constitution Day (Día de la Constitución) marks the anniversary of a referendum held in Spain on December 6, 1978. In this referendum, a new constitution was approved. This was an important step in Spain's transition to becoming a constitutional monarchy and democracy.

calculateNationalDay() public method

The Fiesta Nacional de España is the national day of Spain. It is held annually on October 12 and is a national holiday. It commemorates the anniversary of Christopher Columbus's first arrival in the Americas, a day also celebrated in other countries. The day was known as Dia de la Hispanidad, emphasizing Spain's connection to the Hispanidad, the international Hispanic community. On November 27, 1981, a royal decree established Día de la Hispanidad as a national holiday.

initialize() public method

Initialize holidays for Spain.
public initialize ( )