CAL. CCP. CODE § 594 : California Code - Section 594

(a) In superior courts either party may bring an issue to trial or to a hearing, and, in the absence of the adverse party, unless the court, for good cause, otherwise directs, may proceed with the case and take a dismissal of the action, or a verdict, or judgment, as the case may require; provided, however, if the issue to be tried is an issue of fact, proof shall first be made to the satisfaction of the court that the adverse party has had 15 days' notice of such trial or five days' notice of the trial in an unlawful detainer action as specified in subdivision (b). If the adverse party has served notice of trial upon the party seeking the dismissal, verdict, or judgment at least five days prior to the trial, the adverse party shall be deemed to have had notice.

(b) The notice to the adverse party required by subdivision (a) shall be served by mail on all the parties by the clerk of the court not less than 20 days prior to the date set for trial. In an unlawful detainer action where notice is served by mail that service shall be mailed not less than 10 days prior to the date set for trial. If notice is not served by the clerk as required by this subdivision, it may be served by mail by any party on the adverse party not less than 15 days prior to the date set for trial, and in an unlawful detainer action where notice is served by mail that service shall be mailed not less than 10 days prior to the date set for trial. The time provisions of Section 1013 shall not serve to extend the notice of trial requirements under this subdivision for unlawful detainer actions. If notice is served by the clerk, proof thereof may be made by introduction into evidence of the clerk's certificate pursuant to subdivision (3) of Section 1013a or other competent evidence. If notice is served by a party, proof may be made by introduction into evidence of an affidavit or certificate pursuant to subdivision (1) or (2) of Section 1013a or other competent evidence. The provisions of this subdivision are exclusive.