The retirement allowance shall be calculated according to the provisions of this chapter, or the California Public Employees' Pension Reform Act of 2013, whichever is applicable, as they exist at the time of the commencement of the retirement allowance.
Ca. Gov. Code § 31705