Date::Holidays::AW - Aruba's official holidays
version 0.005
use Date::Holidays::AW; if (my $thing = is_holiday(2020, 3, 18, lang => 'en')) { print "It is $thing!", $/; # prints 'It is Betico day!' }
A Date::Holidays family member from Aruba
This module implements the is_holiday and holiday functions from Date::Holidays::Abstract.
is_holiday
holiday
is_holiday( '2020', '3', '18', gov => 1, # Important for government institutions lang => 'en' # defaults to pap, alternatively nl/nld or en/eng can be used. );
is_holiday_dt( DateTime->new( year => 2020, month => 3, day => 18, time_zone => 'America/Curacao', ), gov => 1, # Important for government institutions lang => 'en' # defaults to pap, alternatively nl/nld or en/eng can be used. );
holidays('2022', gov => 1);
Similar API to the other functions, returns an hashref for the year.
Be aware that we return UTF-8 when Papiamento is chosen. So make sure you set your enconding to UTF-8, otherwise you may see weird things.
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.