Date::Holidays::CA_ES - Catalan holidays
use Date::Holidays; my $dh = Date::Holidays->new( countrycode => 'ca_es', nocheck => 1 );
This module provide the official holidays for Catalonia, an Autonomous Community of Spain. It makes use of Date::Holidays::ES as parent class, since the catalan holidays are the spanish ones plus some more.
Notice that "ca_es" is not a valid ISO 3166 code, so the "nocheck" option set to true in the constructor is mandatory to use this module.
The following Catalan holidays have fixed dates (remember to take a look to the spanish ones as well!)
6 Jan Reis 24 Jun Sant Joan 11 Sep Diada Nacional 26 Dec Sant Esteve
The following Catalan holiday hasn't a fixed date:
Pasqua Florida Three days after the spanish holiday "Viernes Santo"
The methods are identical to Date::Holidays::ES ones, except those with the "es" country code in them. Since "ca_es", is not a valid ISO country code, those methods are not provided.
This is the only implemented method, adding the catalan holidays to the days provided by Date::Holidays::ES
Date::Holidays::ES,
Miquel Ruiz, <mruiz@cpan.org>
Copyright 2011 Miquel Ruiz.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Date::Holidays::CA_ES, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Date::Holidays::CA_ES
CPAN shell
perl -MCPAN -e shell install Date::Holidays::CA_ES
For more information on module installation, please visit the detailed CPAN module installation guide.