With the exception of the time spent on call, the period of on-call duty is taken into account when calculating the minimum daily rest period provided for in article L. 3131-1 and the weekly rest periods provided for in articles L. 3132-2 and L. 3164-2.