NAME

Date::Holidays::USFederal - Determine US Federal Public Holidays

SYNOPSIS

  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 );

DESCRIPTION

The naming convention for the module follows that of L(Date::Holidays:UK) as where the format for this module was also taken.

SUBROUTINES

is_usfed_holiday( $year, $month, $day )

Returns the name of the Holiday that falls on the given day, or undef if there is none.

US Federal Holiday Data

The holidays are listed on the US Government Office of Personnel Management web site - http://www.opm.gov/Fedhol/

CAVEATS

The module current only contains US Federal holiday information for years 1997-2025.

AUTHOR

Doug Morris <dougmorris at mail d0t nih D0T gov >

COPYRIGHT

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.

BUGS

None known.

Bugs should be reported to me via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Date::Holidays::USFederal.

SEE ALSO

Date::Holidays::UK, Date::Japanese::Holiday