Where experience is required as a minimum qualification for any civil service examination, a person, who is or has been on military leave from a state civil service or exempt position or from a position in any federal or other public agency the functions of which as they relate to the position have been transferred to the state shall be granted full credit for time spent on that
military leave, as if he or she had remained in the position he held at the time he or she entered the military service.