Implements DayOff calculation but needs tests