The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Date::Holidays::CA_ES - Catalan holidays

SYNOPSIS

  use Date::Holidays;

  my $dh = Date::Holidays->new( countrycode => 'ca_es', nocheck => 1 );

DESCRIPTION

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"

METHODS

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.

holidays

This is the only implemented method, adding the catalan holidays to the days provided by Date::Holidays::ES

SEE ALSO

Date::Holidays::ES,

AUTHOR

Miquel Ruiz, <mruiz@cpan.org>

COPYRIGHT & LICENSE

Copyright 2011 Miquel Ruiz.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.