The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Date::Holidays::US - Date::Holidays Adapter for US Federal holidays

SYNOPSIS

  use Date::Holidays::US qw{is_holiday};
  my $holiday_name = is_holiday($year, $month, $day);

DESCRIPTION

Date::Holidays Adapter for US Federal holidays back to 1880 with updates from 2022.

METHODS

is_holiday

 my $holiday_name = Date::Holidays::US::is_holiday($year, $month, $day);
 print "Holiday: $holiday_name\n";

is_us_holiday

holidays

us_holidays

SEE ALSO

Date::Holidays, Date::Holidays::USFederal

AUTHOR

Michael R. Davis, MRDVT

COPYRIGHT AND LICENSE

Copyright (C) 2022 by Michael R. Davis

MIT License