(a)
If a counteraffidavit, together with proof of service, is served under Section 9406, either the direct contractor or the claimant may commence an action for a declaration of the rights of the parties.
(b)
After commencement of the action, either the direct contractor or the claimant may move the court for a determination of rights under the affidavit and counteraffidavit. The party making the motion shall give not less than five days’ notice of the hearing to the public entity and to the other party.
(c)
The notice of hearing shall comply with the requirements of Chapter 2 (commencing with Section 8100) of Title 1.
Notwithstanding Section 8116, when notice of the hearing is made by mail, the notice is complete on the fifth day following deposit of the notice in the mail.
(d)
The court shall hear the motion within 15 days after the date of the motion, unless the court continues the hearing for good cause.