The following time and service shall be included in the computation of the service to be credited to a member for the purpose of determining whether such member qualifies for retirement and calculating benefits:
(a) Time during which said member is a member of the Retirement System under Section 8.584 and during and for which said member is entitled to receive compensation because of services as a miscellaneous officer or employee.
(b) Service in the fire and police departments which is not credited as service as a member under Section 8.584 shall count under this section upon transfer of a member of either of such departments to employment entitling him to membership in the Retirement System under Section 8.584, provided that the accumulated contributions standing to the credit of such member shall be adjusted by refund to the member or by payment by the member to bring the account at the time of such transfer to the amount which would have been credited to it had the member been a miscellaneous member throughout the period of his service in either of such departments at the compensation he received in such departments.
(c) Time prior to November 2, 1976, during which said member was entitled to receive compensation while a miscellaneous member under any other section of the Charter, provided that accumulated contributions on account of such service previously refunded are redeposited with interest from the date of refund to the date of redeposit, at times and in the manner fixed by the retirement board.
(d) Prior service determined and credited as prescribed by the Board of Supervisors for persons who are members under Section 8.507.
(e) The Board of Supervisors, by ordinance enacted by a three-fourths vote of its members, may provide for the crediting as service, rendered as an employee of the federal government and service rendered as an employee of the State of California or any public entity or public agency in the State of California. Said ordinance shall provide that all contributions required as the result of the crediting of such service shall be made by the member and that no contributions therefor shall be required of the City and County.
(f) Time during which said member is absent from a status included in Subsections (a) or (b) next preceding which is not deemed absence from service under the provisions of Section 8.520 of the Charter and for which such member is entitled to receive credit as service for the City and County by virtue of contributions made in accordance with the provisions of such section.