NAME
Date::Holidays::Adapter::CA_ES - adapter dummy class for Date::Holidays::CA_ES
VERSION
This POD describes version 1.35 of Date::Holidays::Adapter::CA_ES
SYNOPSIS
# Recommended use via Date::Holidays
use Date::Holidays;
my $dh = Date::Holidays->new( countrycode => 'es' );
if ($dh->is_holiday(year => 2017, month => 6, day => 24, region => 'ca')) {
print "Yes it is a Catalan holiday\n";
}
my $holidays = $dh->holidays( year => 2006, region => 'ca' );
# CA_ES identifier directly via Date::Holidays
use Date::Holidays;
my $dh = Date::Holidays->new( countrycode => 'CA_ES', nocheck => 1 );
if ($dh->is_holiday(year => 2017, month => 6, day => 24)) {
print "Yes it is a Catalan holiday\n";
}
my $holidays = $dh->holidays( year => 2006);
DESCRIPTION
The is the an adapter class. It adapts:
This adapter is a placeholder supporting the implementation in the distribution: Date::Holidays::CA_ES.
The actual implementation is located in Date::Holidays::Adapter::ES, which adapts and combines the two.
SUBROUTINES/METHODS
Please see Date::Holidays::Adapter::ES
DIAGNOSTICS
Please refer to DIAGNOSTICS in Date::Holidays
DEPENDENCIES
INCOMPATIBILITIES
Please refer to INCOMPATIBILITIES in Date::Holidays
BUGS AND LIMITATIONS
Please refer to BUGS AND LIMITATIONS in Date::Holidays
BUG REPORTING
Please refer to BUG REPORTING in Date::Holidays
AUTHOR
Jonas Brømsø, (jonasbn) - <jonasbn@cpan.org>
LICENSE AND COPYRIGHT
Date::Holidays and related modules are (C) by Jonas Brømsø, (jonasbn) 2004-2022
Date-Holidays and related modules are released under the Artistic License 2.0