22D. Where a worker works in a relay whose period of work extends over midnight, the ensuing day for him shall be deemed be to the period of twenty-four hours beginning at the end of the period of work fixed for the relay, and the hours he has worked after midnight shall be counted towards the previous day.]