Cal. Gov't Code § 31647
A person is not entitled to credit as prior service for time during which he was not in service as defined in this chapter.