tion it is possible to create your own local calendar.
This can be done using a L<JSON|https://metacpan.org/pod/JSON> file with your local definitions:
{
"1501" : "jonasbn's birthday"
up by Date::Holidays, set the environment variable:
$HOLIDAYS_FILE
This should point to the JSON file.
=head1 SUBROUTINES/METHODS
=head2 new
This is the constructor. It takes the following pa
to
set the environment variable:
$HOLIDAYS_FILE
This environment variable should point to a JSON file containing holiday definitions
to be used by L<Date::Holidays::Adapter::Local|https://metacp
e Date::Holidays::Adapter::Local;
use strict;
use warnings;
use File::Slurp qw(slurp);
use JSON; #from_json
use Env qw($HOLIDAYS_FILE);
use vars qw($VERSION);
$VERSION = '1.35';
sub new {
my $c
ocal_holidays;
if (-r $local_holiday_file) {
my $json = slurp($local_holiday_file);
$local_holidays = from_json($json);
}
my $filtered_holidays = {};
if ($params{dat
<Date::Holidays>
=head1 DEPENDENCIES
=over
=item * L<Carp>
=item * L<Module::Load>
=item * L<JSON>
=item * L<File::Slurp>
=back
Please see the F<cpanfile> included in the distribution for a co