Date::Holidays::AW - Aruba's official holidays
version 0.004
use Date::Holidays::NL; if (my $thing = is_holiday(2020, 5, 5, lang => 'en')) { print "It is $thing!", $/; # prints liberation day }
A Date::Holidays family member from the Netherlands
This module implements the is_holiday and holiday functions from Date::Holidays::Abstract.
is_holiday
holiday
is_holiday( '2022', '05', '05', gov => 1, # Important for government institutions lang => 'en' # defaults to nl/nld, alternatively en/eng can be used. );
is_holiday( DateTime->new( year => 2022, month => 5, day => 5, time_zone => 'Europe/Amsterdam', ), gov => 1, # Important for government institutions lang => 'en' # defaults to nl/nld, alternatively en/eng can be used. );
holidays('2022', gov => 1);
Similar API to the other functions, returns an hashref for the year.
Wesley Schwengle <waterkip@cpan.org>
This software is Copyright (c) 2020 by Wesley Schwengle.
This is free software, licensed under:
The (three-clause) BSD License
To install Date::Holidays::AW, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Date::Holidays::AW
CPAN shell
perl -MCPAN -e shell install Date::Holidays::AW
For more information on module installation, please visit the detailed CPAN module installation guide.