NAME
Date::Holidays::Adapter::NZ - an adapter class for Date::Holidays::NZ
VERSION
This POD describes version 1.24 of Date::Holidays::Adapter::NZ
DESCRIPTION
The is an adapter class for Date::Holidays::NZ
SUBROUTINES/METHODS
new
The constructor, takes a single named argument, countrycode
is_holiday
The holidays method, takes 3 named arguments, year, month and day
Returns an indication of whether the day is a holiday in the calendar of the country referenced by countrycode in the call to the constructor new.
It supports the optional parameter region for specifying a region within New Zealand.
holidays
The holidays method, takes a single named argument, year
Returns a reference to a hash holding the calendar of the country referenced by countrycode in the call to the constructor new.
The calendar will spand for a year and the keys consist of month and day concatenated.
It supports the optional parameter region for specifying a region within New Zealand.
DIAGNOSTICS
Please refer to DIAGNOSTICS in Date::Holidays
DEPENDENCIES
INCOMPATIBILITIES
Please refer to INCOMPATIBILITIES in Date::Holidays
BUGS AND LIMITATIONS
No known bugs or limitations at this time
BUG REPORTING
Please refer to BUG REPORTING in Date::Holidays
AUTHOR
Jonas B. Nielsen, (jonasbn) - <jonasbn@cpan.org>
LICENSE AND COPYRIGHT
Date::Holidays and related modules are (C) by Jonas B. Nielsen, (jonasbn) 2004-2020
Date-Holidays and related modules are released under the Artistic License 2.0