In the same way as we did for the Switch, you must create a separate procedure to be executed in case the office is closed according to this timetable.