This PR adds most New Zealand regional holidays, except for Canterbury Anniversary.
Canterbury Anniversary is defined as the second Friday after the first Tuesday in November each year, which would require an extension of the existing RelativeToWeekdayInMonthParser for the which attribute, or a new FixedWeekdayRelativeToFixedWeekdayParser.
It would also be useful to implement a relative-to-holiday parser, that understands rules such as the Monday after Labour Day, where Labour Day might be defined by a non-trivial rule elsewhere.
Coverage increased (+0.6%) to 63.975% when pulling ca2b73c122c2eda89707573917c05c0164902fbe on fkleon:feature-new-zealand-regional-holidays into 8ac5c185c8ef143ebc05f2f6ff8ef136d028eb81 on svendiedrichsen:master.
Hi
This PR adds most New Zealand regional holidays, except for Canterbury Anniversary.
Canterbury Anniversary is defined as the second Friday after the first Tuesday in November each year, which would require an extension of the existing
RelativeToWeekdayInMonthParser
for thewhich
attribute, or a newFixedWeekdayRelativeToFixedWeekdayParser
.It would also be useful to implement a relative-to-holiday parser, that understands rules such as the Monday after Labour Day, where Labour Day might be defined by a non-trivial rule elsewhere.
This implementation is based on: