Any person who violates any of the provisions of this chapter or of the rules and regulations promulgated under this chapter is guilty of a misdemeanor and upon conviction thereof shall be punished by a fine not to exceed one thousand dollars ($1,000) or by imprisonment in the county jail for a period not to exceed 180 days or by both such fine and imprisonment.