Article 2. Contest Procedures At Primary Elections: Contests Other Than Recount of California Elections Code >> Division 16. >> Chapter 6. >> Article 2.

The clerk of the superior court, within five days after the end of the time for filing affidavits, shall present all the affidavits to the presiding judge of the superior court. The presiding judge shall forthwith designate the time and place of hearing, which shall be not less than 10 nor more than 20 days from the date of the order.
The clerk of the superior court, after an order setting a contest for trial, shall issue a citation to both parties containing a copy of the order. He or she shall deliver it to the sheriff who shall serve it either upon the parties or leave it at the residences named in the affidavits of registration of the parties.