Non-observance of formalities

23. No marriage solemnized by a marriage officer shall be declared as invalid or void-

(a) solely by reason that any of the formalities regarding marriages, as in this Law provided, have not been observed;

(b) solely by reason of the fact that the marriage has been contracted before the expiration of the required periods as in this Law provided.