NAME
Date::Holidays::Adapter - an adapter class for Date::Holidays::* modules
VERSION
This POD describes version 0.01 of Date::Holidays::Adapter
DESCRIPTION
The is the SUPER adapter class. All of the adapters in the distribution of Date::Holidays are subclasses of this particular class. Date::Holidays
SUBROUTINES/METHODS
The public methods in this class are all expected from the adapter, so it actually corresponds with the abstract outlines in Date::Holidays::Abstract.
Not all methods/subroutines may be implemented in the adaptee classes, the adapters attempt to make the adaptee APIs adaptable where possible. This is afterall the whole idea of the Adapter Pattern, but apart from making the single Date::Holidays::* modules uniform towards the clients and Date::Holidays it is attempted to make the multitude of modules uniform in the extent possible.
new
The constructor
is_holiday
holidays
DEVELOPING A DATE::HOLIDAYS::* ADAPTER
DIAGNOSTICS
- Date::Holidays::Exception::AdapterLoad
-
The exception is thrown in the case where the _load method is unable to load a requested adapter module.
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 B. Nielsen, (jonasbn) - <jonasbn@cpan.org>
LICENSE AND COPYRIGHT
Date-Holidays and related modules are (C) by Jonas B. Nielsen, (jonasbn) 2004-2007
Date-Holidays and related modules are released under the artistic license
The distribution is licensed under the Artistic License, as specified by the Artistic file in the standard perl distribution (http://www.perl.com/language/misc/Artistic.html).