| Date-Holidays-USFederal documentation | view source | Contained in the Date-Holidays-USFederal distribution. |
Date::Holidays::USFederal - Determine US Federal Public Holidays
use Date::Holidays::USFederal; my ($year, $month, $day) = (localtime)[ 5, 4, 3 ]; $year += 1900; $month += 1; print "Woohoo" if is_usfed_holiday( $year, $month, $day );
The naming convention for the module follows that of L(Date::Holidays:UK) as where the format for this module was also taken.
Returns the name of the Holiday that falls on the given day, or undef if there is none.
The module current only contains US Federal holiday information for years 1997-2010.
Doug Morris <dougmorris at mail d0t nih D0T gov >
US government. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
None known.
Bugs should be reported to me via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Date::Holidays::USFederal.
| Date-Holidays-USFederal documentation | view source | Contained in the Date-Holidays-USFederal distribution. |