Triggered by yet another contribution from Wesley Schwengle (waterkip) I am happy to announce release 1.36 of the Date::Holidays Perl distribution.
The release introduces support for:
- Date::Holidays::CW, a distribution handling holidays for Curaçao.
Here is a short demo of inquiring whether 2024-12-25 is a holiday in Curaçao.
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
use Date::Holidays;
my $holidays_hashref = Date::Holidays->is_holiday(
year => 2024,
month => 12,
day => 25,
countries => ['cw'],
);
print STDERR Dumper($holidays_hashref);
exit 0;
And the output:
$VAR1 = {
'CW' => 'Pasku di Nacemento'
};
Change log for Date::Holidays
1.36 2024-02-11 Feature release, updated not required
- Addition of support of Date::Holidays::CW via Date::Holidays::Adapter::CW via PR #125 by Wesley Schwengle (@waterkip) author of: [Date::Holidays::CW], the calendar implementation for Curaçao