Date-Cutoff-JP
view release on metacpan or search on metacpan
# SYNOPSIS
use Date::CutOff::JP;
my $dco = Date::CutOff::JP->new({ cutoff => 0, late => 1, payday => 0 });
my %calculated = $dco->calc_date('2019-01-01');
print $calculated{'cutoff'}; # '2019-01-31'
print $calculated{'payday'}; # '2019-02-28'
# DESCRIPTION
Date::CutOff::JP provides how to calculate the day cutoff and the payday from Japanese calendar.
You can calculate the weekday for cutoff and paying without holidays in Japan.
# Constructor
### new({ \[cutoff => $day\], \[payday => $day\], \[late => 0||1||2\] })
You may omit parameters. defaults are { cutoff => 0, payday => 0, late => 1 }
## Accessor Methods
lib/Date/Cutoff/JP.pm view on Meta::CPAN
=head1 SYNOPSIS
use Date::CutOff::JP;
my $dco = Date::CutOff::JP->new({ cutoff => 0, late => 1, payday => 0 });
my %calculated = $dco->calc_date('2019-01-01');
print $calculated{'cutoff'}; # '2019-01-31'
print $calculated{'payday'}; # '2019-02-28'
=head1 DESCRIPTION
Date::CutOff::JP provides how to calculate the day cutoff and the payday from Japanese calendar.
You can calculate the weekday for cutoff and paying without holidays in Japan.
=head1 Constructor
=head3 new({ [cutoff => $day], [payday => $day], [late => 0||1||2] })
You may omit parameters. defaults are { cutoff => 0, payday => 0, late => 1 }
=head2 Accessor Methods
( run in 3.127 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )