delivered the opinion of the Court.
In this appeal, plaintiffs challenge the constitutionality of Code § 8.01-250 as applied to them. Code § 8.01-250, a statute of repose, provides, in pertinent part, as follows:
No action to recover for any injury to property, real or personal, or for bodily injury or wrongful death, arising out of the defective and unsafe condition of an improvement to real property, nor any action for contribution or indemnity for damages sustained as a result of such injury, shall be brought against any person performing or furnishing the design, planning, surveying, supervision of construction, or construction of such improvement to real property more than five years after the performance of furnishing of such services and construction.
I
Snyder Hunt Corporation (Snyder Hunt) was the construction contractor of an apartment complex located in the Town of Blacksburg. Construction of the building in question was completed and a certificate of occupancy was issued by the town on May 6, 1980.
On October 12, 1985, Dinell L. Hess and Vera Anne Smith (the plaintiffs) were on a balcony of the building when the balcony collapsed and fell to the ground. The plaintiffs were injured in the fall.
In their motions for judgment, the plaintiffs alleged that their injuries were próximately caused by Snyder Hunt’s negligent selection of materials and negligent construction of the balcony. Snyder Hunt filed pleas in bar, alleging that the plaintiffs’ claims against it were extinguished by Code § 8.01-250 because all work was completed on the building more than five years prior to the filing of the lawsuits. The trial court sustained the pleas and dismissed Snyder Hunt as a party defendant. The plaintiffs appeal.
*52 II
A “statute of repose” differs from a “statute of limitations.” Generally, the time limitation in the latter begins to run when the cause of action accrues. The time limitation in a statute of repose, however, “begins to run from the occurrence of an event unrelated to the accrual of a cause of action.”
School Bd. of the City of Norfolk
v.
U.S. Gypsum,
Statutes of repose evince a legislative policy decision that after the expiration of a specific time a defendant should no longer be subjected to liability.
Id.
at 37,
As a statute of repose, Code § 8,01-250 is a redefinition of the substantive rights and obligations of the parties to any litigation “arising out of the defective and unsafe condition of an improvement to real property.” Specifically, we think the lapse of the statutory period was meant to extinguish all the rights of a plaintiff, including those which might arise from an injury sustained later and to grant a defendant immunity from liability for all the torts specified in the statute.
Id.
at 37-38,
A
The plaintiffs contend, however, that Code § 8.01-250 is unconstitutional, as applied, because it violates their constitutional guarantee of due process. 1 The due process clauses of the Federal and Virginia Constitutions provide that no person shall be deprived of life, liberty, or property without due process of law. U.S. Const. amend. XIV, § 1; Va. Const. art. I, § 11.
All actions of the General Assembly are presumed to be constitutional, Thus, courts will declare an enactment unconstitutional only when it clearly is repugnant to some provision of either
*53
the state or federal constitution. The party challenging the enactment has the burden of proving its unconstitutionality, and if a reasonable doubt exists as to its constitutionality, the doubt must be resolved in favor of its validity.
Etheridge
v.
Medical Center Hospitals,
Generally, due process is satisfied if an enactment has a “reasonable relation to a proper purpose and [is] neither arbitrary nor discriminatory.”
Id.
at 97,
In the present case, we are confronted neither with a fundamental right nor with a suspect classification. Therefore, our inquiry is whether the statute of repose is reasonably related to a legitimate state objective. We think it is.
Construction projects can be expected to last for many years after their completion. The owner or occupier of the project will be exposed to long-term liability because he will remain responsible for the maintenance of the project. With the abolition of lack of privity as a defense, Code § 8.01-223, architects, engineers, and building contractors may be subject to liability. However, absent a statute of repose, an architect, engineer, or building contractor also would be exposed to long-term liability, even though their work had long since been completed. These, and other factors, reasonably justify the General Assembly’s decision to impose a time limitation for actions against such defendants.
There comes a time when [a defendant] ought to be secure in his reasonable expectation that the slate has been wiped clean of ancient obligations, and he ought not to be called on to resist a claim when “evidence has been lost, memories have faded, and witnesses have disappeared.”
Rosenberg
v.
Town of North Bergen,
*54 Relying upon decisions from other states, 2 the plaintiffs specifically assert that they have been denied due process because the statute’s five-year time limitation had expired before their causes of action accrued, i.e., before their injuries were incurred. We are unpersuaded by these decisions; all of them dealt with violations of unique state constitutional provisions that guaranteed a litigant a right of access to courts.
Furthermore, contrary to the plaintiffs’ assertion, it is only when a right has accrued or a claim has arisen that it is subject to the protection of the due process clause.
See
Code § 1-16;
City of Norfolk
v.
Kohler,
*55 B
The plaintiffs also contend that Code § 8.01-250 violates the equal protection clause of the fourteenth amendment of the Federal Constitution, which provides that no state shall “deny to any person ... the equal protection of the laws.” U.S. Const, amend. XIV, § l. 4 The equal protection clause is violated, the plaintiffs assert, because it gives preferential treatment to architects, engineers, and construction contractors over owners, landlords, and materialmen. 5
When a classification neither infringes a fundamental right nor is based upon a suspect criterion, it need only satisfy a “rational basis” test.
Exxon Corp.
v.
Eagerton,
In the present case, we previously applied a “rational basis” test in a due process analysis and concluded that Code § 8.01-250 would promote a legitimate state objective. It follows, therefore, for the reasons previously stated, that the General Assembly had a rational basis for the challenged classification.
*56 III
Thus, we hold that Code § 8.01-250 does not violate either the Federal or Virginia Constitutions. Accordingly, the trial court’s judgment will be affirmed.
Affirmed.
Notes
This is a question of first impression. We expressly refrained from deciding it in
Commonwealth
v.
Owens-Corning Fiberglas,
The plaintiffs rely upon the following decisions from other jurisdictions:
In re Beverly Hills Fire Litigation,
The decision we reach accords with those of many of our sister states.
See, e.g., Yarbro
v.
Hilton Hotels Corp.,
Plaintiffs also rely upon the Virginia Constitution. However, that document does not contain an explicit equal protection guarantee.
See
Etheridge,
We assume, without deciding, that the plaintiffs have standing to argue that Code § 8.01-250 deprives them of equal protection.
