Cal. Penal Code § 119
The term “oath,” as used in the last two sections, includes an affirmation and every other mode authorized by law of attesting the truth of that which is stated.