Any action under sections 35-34 and 35-35, shall be forever barred unless commenced within four years after the cause of action shall have accrued. For the purpose of this section, a cause of action for a continuing violation is deemed to accrue at any time during the period of the violation.