diff options
| author | Matthias Muth <matthias.muth@gmx.de> | 2024-03-11 00:49:47 +0100 |
|---|---|---|
| committer | Matthias Muth <matthias.muth@gmx.de> | 2024-03-11 00:49:47 +0100 |
| commit | bd19c32ffb56048dd524c07841b859a58d18f79d (patch) | |
| tree | ea40dd2db251911da3cb50d6fe96133aa9864a8d | |
| parent | f82dcd583cf6798101c35319dd0cf7b90a4cde04 (diff) | |
| download | perlweeklychallenge-club-bd19c32ffb56048dd524c07841b859a58d18f79d.tar.gz perlweeklychallenge-club-bd19c32ffb56048dd524c07841b859a58d18f79d.tar.bz2 perlweeklychallenge-club-bd19c32ffb56048dd524c07841b859a58d18f79d.zip | |
Challenge 259 Task 1 and 2 solutions in Perl by Matthias Muth
| -rw-r--r-- | challenge-259/matthias-muth/perl/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-259/matthias-muth/perl/README.md b/challenge-259/matthias-muth/perl/README.md index d976c56bb5..90a3471b4d 100644 --- a/challenge-259/matthias-muth/perl/README.md +++ b/challenge-259/matthias-muth/perl/README.md @@ -85,9 +85,9 @@ plus two weekend days for every full five banking days: + int( $offset / 5 ) * 2 * ONE_DAY; ``` -We still need to shift by one day for each banking day between the starting and ending date. +We still need to shift by one day for each banking holiday between the starting and ending date. -We can ignore banking days that are on weekends, because we have skipped over the weekends already. +We can ignore banking holidays that are on weekends, because we have skipped over the weekends already. So we only consider banking holidays that are on Monday to Friday. We need to be careful not to end on the weekend when we move the ending date forward. |
