For the application of article L. 2314-20, the length of time spent in the company is calculated by adding together the periods during which the employee does or does not carry out an assignment when the employee has an open-ended contract with the temporary employment agency.