Date::HolidaysDate::Holidays is a Date::Holidays::* OOP adapter aggregator. | |
Download |
Date::Holidays Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jonas B. Nielsen
- Publisher web site:
- http://search.cpan.org/~jonasbn/
Date::Holidays Tags
Date::Holidays Description
Date::Holidays is a Date::Holidays::* OOP adapter aggregator. Date::Holidays is a Date::Holidays::* OOP adapter aggregator.SYNOPSIS use Date::Holidays; my $dh = Date::Holidays->new( countrycode => 'dk' ); $holidayname = $dh->is_holiday( year => 2004, month => 12, day => 25 ); $hashref = $dh->holidays( year => 2004 ); $holidays_hashref = Date::Holidays->is_holiday( year => 2004, month => 12, day => 25, countries => , ); foreach my $country (keys %{$holidays_hashref}) { print $holidays_hashref->{$country}."n"; } $holidays_hashref = Date::Holidays->is_holiday( year => 2004, month => 12, day => 25, ); #Example of a module with additional parameters my $dh = Date::Holidays->new( countrycode => 'au' ); $holidayname = $dh->is_holiday( year => 2004, month => 12, day => 25, state => 'TAS', ); $hashref = $dh->holidays( year => 2004 state => 'TAS', ); Requirements: · Perl
Date::Holidays Related Software