Refactoring. Need to call getApplyingHolidaysForYear more than once.
Refined interpretation of open end.
Support calculations based on PH. Currently only adding one day.