Any person who violates any provision of this chapter shall be guilty of a misdemeanor and for each offense for which he or she is convicted shall be punished by a fine of not more than $500 or by imprisonment in the county jail for not more than three months or by both.