Time during which a member is absent from state service under leave of absence because of injury or illness that arose out of and in the course of employment, and for which he or she receives full or part salary in lieu of disability indemnity, shall be considered as time spent in state service for purposes of requirement of employer and member contribution, computation of service credit and qualification for and calculation of benefits as though he or she had not been absent.
Ca. Gov. Code § 21005