Date::Holidays::CA_ES - Catalan holidays
use Date::Holidays; my $dh = Date::Holidays->new( countrycode => 'es' ); $dh->is_holiday(year => 2007, month => 4, day => 9 , region => 'ca')
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.
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.
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 2020 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.