(a) When a violation of the provisions of this chapter or the South Carolina Building Energy Efficiency Standard is discovered, the person in violation shall be granted thirty days or no later than the time necessary to complete the construction to correct such violation. Any person who fails to correct such violation shall be deemed guilty of a misdemeanor and upon conviction shall be fined not more than two hundred dollars or imprisoned for not more than thirty days for each offense.
(b) A separate violation is deemed to have occurred with respect to each building not in compliance with the act or the South Carolina Building Energy Efficiency Standard. Each day the violation continues constitutes a separate violation.