(A) Whenever in this code or the ordinances of the town any act is prohibited or is made or declared to be unlawful or an offense or a misdemeanor, or the doing of any act is required, or the failure to do any act is made or declared to be unlawful or an offense or a misdemeanor, the violation of any such provision of this code or the ordinances of the town shall be deemed to be a misdemeanor and shall be punished as follows.
(1) Whenever a misdemeanor is declared to be a class 1 misdemeanor, such misdemeanor shall be punished by confinement in jail for not more than 12 months or a fine of not more than $2,500, either or both.
(2) Whenever a misdemeanor is declared to be a class 2 misdemeanor, such misdemeanor shall be punished by a fine of not more than $1,000 or confinement in jail for not more than six months, either or both.
(3) Whenever a misdemeanor is declared to be a class 3 misdemeanor, such misdemeanor shall be punished by a fine of not more than $500.
(4) Whenever a misdemeanor is declared to be a class 4 misdemeanor, such misdemeanor shall be punished by a fine of not more than $250.
(5) Whenever punishment for a misdemeanor is specifically prescribed by this code or a town ordinance without specification as to the class of the misdemeanor, such misdemeanor shall be punished according to the provisions of this code or such ordinance.
(B) Whenever the penalty for a misdemeanor is prescribed by stating that the misdemeanor is punishable as provided for in this section, or whenever no specific penalty is provided for a misdemeanor, the misdemeanor shall be deemed to be a class 1 misdemeanor.
(C) Such penalties shall not exceed the penalties prescribed by general law for a like offense.
(D) Except where otherwise provided, each day any violation of this code or the ordinances of the town shall continue shall constitute a separate offense.
(1998 Code, § 1-13)