PHP Class Yasumi\Provider\Spain\CommunityOfMadrid

The Community of Madrid is one of the seventeen autonomous communities (regions) of Spain. It is located at the centre of the country, the Iberian Peninsula, and the Castilian Central Plateau (Meseta Central). It is conterminous with the province of Madrid, making it "uniprovincial", or a community with only one province. Its capital is the city of Madrid, which is also the national capital of Spain. It is bounded to the south and east by Castile–La Mancha and to the north and west by Castile and León.
Inheritance: extends Yasumi\Provider\Spain, use trait Yasumi\Provider\ChristianHolidays
Show file Open project: azuyalabs/yasumi

Public Methods

Method Description
calculateDosdeMayoUprisingDay ( ) Calculates the day of Dos de Mayo Uprising.
initialize ( ) Initialize holidays for the Community Of Madrid (Spain).

Method Details

calculateDosdeMayoUprisingDay() public method

The Dos de Mayo of 1808, was a rebellion by the people of Madrid against the occupation of the city by French troops, provoking a brutal repression by the French Imperial forces and triggering the Peninsular War. The 2 May is now a public holiday in the Community of Madrid. The place where the artillery barracks of Monteleón was located is now a square called the Plaza Dos de Mayo, and the district surrounding the square is known as Malasaña in memory of one of the heroines of the revolt, the teenager Manuela Malasaña, who was executed by French troops in the aftermath of the revolt.

initialize() public method

Initialize holidays for the Community Of Madrid (Spain).
public initialize ( )