A violation of this chapter is hereby declared to be an offense, punishable by a fine not less than $500 or imprisonment for a period not to exceed six months, or revocation of conditional use permit or variance or all for conviction of a first offense; for conviction of a second offense, both of which were committed within a period of one year, punishable by a fine not less than $1,000 or imprisonment for a period not to exceed six months and mandatory revocation of conditional use permit or variance or all for conviction, or both. However, for the purpose of conferring jurisdiction upon courts and judicial officers generally, violations of this chapter shall be deemed misdemeanors, and, for such purpose only, all provisions of law relating to misdemeanors shall apply to such violations. Each week's continued violation shall constitute a separate additional violation.