The 10-year period specified in subdivision (a) shall commence upon substantial completion of the improvement, but not later than the date of one of the following, whichever first occurs:
(1) The date of final inspection by the applicable public agency.
(2) The date of recordation of a valid notice of completion.
(3) The date of use or occupation of the improvement.
(4) One year after termination or cessation of work on the improvement.
The date of substantial completion shall relate specifically to the performance or furnishing design, specifications, surveying, planning, supervision, testing, observation of construction or construction services by each profession or trade rendering services to the improvement.
337.2. Where a lease of real property is in writing, no action shall be brought under Section 1951.2 of the Civil Code more than four years after the breach of the lease and abandonment of the property, or more than four years after the termination of the right of the lessee to possession of the property, whichever is the earlier time.
337.5. Within 10 years:
(a) An action upon any general obligation bonds or coupons, not secured in whole or in part by a lien on real property, issued by any county, city and county, municipal corporation, district (including school districts), or other political subdivision of the State of California.
(b) An action upon a judgment or decree of any court of the United States or of any state within the United States.
337.6. Notwithstanding the provisions of Section 337.5 of this code actions may be brought on bonds or coupons as set forth in subsection 2 of said section, against which the statute of limitations ran on or after August 27, 1937; provided, such actions are brought on or before June 30, 1959. Upon presentation for payment they shall be registered and payment shall not be made thereon until the next fiscal year following presentation unless available funds are sufficient to first pay obligations which are due or will become due from the same fund during the fiscal year of presentation and during the next succeeding six months. Interest shall not be paid on bonds or coupons registered for the purpose of this section.
338. Within three years:
(a) An action upon a liability created by statute, other than a penalty or forfeiture.
(b) An action for trespass upon or injury to real property.
(c) (1) An action for taking, detaining, or injuring any goods or chattels, including actions for the specific recovery of personal property.
(2) The cause of action in the case of theft, as described in Section 484 of the Penal Code, of any article of historical, interpretive, scientific, or artistic significance is not deemed to have accrued until the discovery of the whereabouts of the article by the aggrieved party, his or her agent, or the law enforcement agency that originally investigated the theft.
(3) (A) Notwithstanding paragraphs (1) and (2), an action for the specific recovery of a work of fine art brought against a museum, gallery, auctioneer, or dealer, in the case of an unlawful taking or theft, as described in Section 484 of the Penal Code, of a work of fine art, including a taking or theft by means of fraud or duress, shall be commenced within six years of the actual discovery by the claimant or his or her agent, of both of the following:
(i) The identity and the whereabouts of the work of fine art. In the case where there is a possibility of misidentification of the object of fine art in question, the identity can be satisfied by the identification of facts sufficient to determine that the work of fine art is likely to be the work of fine art that was unlawfully taken or stolen.
(ii) Information or facts that are sufficient to indicate that the claimant has a claim for a possessory interest in the work of fine art that was unlawfully taken or stolen.
(B) The provisions of this paragraph shall apply to all pending and future actions commenced on or before December 31, 2017, including any actions dismissed based on the expiration of statutes of limitation in effect prior to the date of enactment of this statute if the judgment in that action is not yet final or if the time for filing an appeal from a decision on that action has not expired, provided that the action concerns a work of fine art that was taken within 100 years prior to the date of enactment of this statute.
(C) For purposes of this paragraph:
(i) "Actual discovery," notwithstanding Section 19 of the Civil Code, does not include any constructive knowledge imputed by law.
(ii) "Auctioneer" means any individual who is engaged in, or who by advertising or otherwise holds himself or herself out as being available to engage in, the calling for, the recognition of, and the acceptance of, offers for the purchase of goods at an auction as defined in subdivision (b) of Section 1812.601 of the Civil Code.
(iii) "Dealer" means a person who holds a valid seller's permit and who is actively and principally engaged in, or conducting the business of, selling works of fine art.
(iv) "Duress" means a threat of force, violence, danger, or retribution against an owner of the work of fine art in question, or his or her family member, sufficient to coerce a reasonable person of ordinary susceptibilities to perform an act that otherwise would not have been performed or to acquiesce to an act to which he or she would otherwise not have acquiesced.
(v) "Fine art" has the same meaning as defined in paragraph (1) of subdivision (d) of Section 982 of the Civil Code.
(vi) "Museum or gallery" shall include any public or private organization or foundation operating as a museum or gallery.
(4) Section 361 shall not apply to an action brought pursuant to paragraph (3).
(5) A party in an action to which paragraph (3) applies may raise all equitable and legal affirmative defenses and doctrines, including, without limitation, laches and unclean hands.
(d) An action for relief on the ground of fraud or mistake. The cause of action in that case is not deemed to have accrued until the discovery, by the aggrieved party, of the facts constituting the fraud or mistake.
(e) An action upon a bond of a public official except any cause of action based on fraud or embezzlement is not deemed to have accrued until the discovery, by the aggrieved party or his or her agent, of the facts constituting the cause of action upon the bond.
(f) (1) An action against a notary public on his or her bond or in his or her official capacity except that any cause of action based on malfeasance or misfeasance is not deemed to have accrued until discovery, by the aggrieved party or his or her agent, of the facts constituting the cause of action.
(2) Notwithstanding paragraph (1), an action based on malfeasance or misfeasance shall be commenced within one year from discovery, by the aggrieved party or his or her agent, of the facts constituting the cause of action or within three years from the performance of the notarial act giving rise to the action, whichever is later.
(3) Notwithstanding paragraph (1), an action against a notary public on his or her bond or in his or her official capacity shall be commenced within six years.
(g) An action for slander of title to real property.
(h) An action commenced under Section 17536 of the Business and Professions Code. The cause of action in that case shall not be deemed to have accrued until the discovery by the aggrieved party, the Attorney General, the district attorney, the county counsel, the city prosecutor, or the city attorney of the facts constituting grounds for commencing the action.
(i) An action commenced under the Porter-Cologne Water Quality Control Act (Division 7 (commencing with Section 13000) of the Water Code). The cause of action in that case shall not be deemed to have accrued until the discovery by the State Water Resources Control Board or a regional water quality control board of the facts constituting grounds for commencing actions under their jurisdiction.
(j) An action to recover for physical damage to private property under Section 19 of Article I of the California Constitution.
(k) An action commenced under Division 26 (commencing