This is a petition for a writ of prohibition to restrain respondent Superior Court from proceeding with the trial of a cause.
Planters Nut and Chocolate Company brought an action against Rosefield Packing Company by filing a complaint on August 17,1929. Defendant answered on or about September 27, 1929. Prior to the 1933 amendment of section 583 of the Code of Civil Procedure, an action not brought to trial within five years after filing of the answer was subject to mandatory dismissal. The amendment, effective August 21, 1933, made it compulsory to dismiss an action not brought to trial within five years after filing of the “action”. On October 11, 1934, *122 the defendant moved to dismiss the action for lack of prosecution. This date was more than five years after filing of the complaint, and it is the contention of defendant, petitioner herein, that the action was subject to dismissal under the provisions of the statute as amended. The lower court denied the motion and set the case for trial. Petitioner then sought a writ of prohibition to restrain the court from proceeding further in the matter. Respondent has demurred to the petition for writ of prohibition, and the question presented is one of law alone.
The amendment to section 583 by its terms makes the statute retroactive, for it applies to “any action heretofore or hereafter commenced”. No room for construction is permitted, and the law as amended undoubtedly applies to the present proceeding.
The question of constitutionality may be determined upon settled principles. The retrospective application of a statute may be unconstitutional if it is
ex post facto,
that is, applying to criminal matters; or if it deprives a person of a vested right; or if it impairs the obligation of a contract. But a statute which merely effects a change in civil procedure may have a valid retrospective application. (See
Los Angeles
v.
Oliver,
In the instant case the statute went into effect on August 21, 1933. The five-year period from the filing of the complaint ended August 17, 1934. The plaintiff, therefore, had practically an entire year to bring his case to trial, after the enactment of the amendment. There can be no doubt but that this was a reasonable time, and that consequently the amended statute may be applied to the action without violating any constitutional right of the plaintiff. Much shorter periods have been upheld. (See
Kozisek
v.
Brigham, supra;
note, 49 A. L. R. 1263;
Kerckhoff-Cuzner Mill & Lumber Co.
v.
Olmstead,
Respondents contend, however, that several recent decisions of the District Court of Appeal sustain the refusal to dismiss the cause. The first is
Coleman
v.
Superior Court, supra,
in which the court fully discussed and approved the general principles hereinabove stated, but concluded that to apply the statute retroactively would be to deny the party a reasonable time for the exercise of his right. Accordingly, a writ of prohibition was denied. But in that case, the action had been commenced in 1920, and though time for answer had been several times extended, the five-year period from the filing of the complaint had elapsed long before the amendment to the law became effective. The amendment immediately cut off the plaintiff’s right to proceed in the cause, and was consequently held inapplicable. Such is not, of course, the situation presented in the instant case, where nearly a year elapsed from the effective date of the amendment to the time when the five-year period ended.' The second case is
Masonic Mines Assn.
v.
Superior Court,
It is clear that the Shoemaker ease proceeds upon an erroneous interpretation of the principle considered in the Coleman case. Whether there was a reasonable time in these cases is not a matter committed to the discretion of the trial court. The question is one of constitutionality of the statute which in terms applies to the pending case; and if it appears that there was a reasonable time for exercise of the remedy before the statutory bar became fixed, the lower court cannot consider individual hardship or other circumstances, but must give effect to the express provisions of the law. On this point the ease of Shoemaker v. Superior Court, supra, must be disapproved.
Respondents advance the further argument that by stipulation of the parties, an .amended complaint was filed March 16, 1933, which extended the time of mandatory dismissal to five years after its filing. The case of
Mercantile Investment Co.
v.
Superior Court,
Let a writ of prohibition issue as prayed.
Preston, J., Shenk, J., Thompson, J., Seawell, J., and Waste, C. J., concurred.
Rehearing denied. Waste, C. J., Shenk, J., and Preston, J., voted for a rehearing.
