Cal. Civ. Proc. Code § 998
(b) Not less than 10 days prior to commencement of trial or arbitration (as provided in Section 1281 or 1295) of a dispute to be resolved by arbitration, any party may serve an offer in writing upon any other party to the action to allow judgment to be taken or an award to be entered in accordance with the terms and conditions stated at that time. The written offer shall include a statement of the offer, containing the terms and conditions of the judgment or award, and a provision that allows the accepting party to indicate acceptance of the offer by signing a statement that the offer is accepted. Any acceptance of the offer, whether made on the document containing the offer or on a separate document of acceptance, shall be in writing and shall be signed by counsel for the accepting party or, if not represented by counsel, by the accepting party.
(c)
(2)
(g) This chapter does not apply to either of the following: