Any person who violates any of the provisions of this chapter is guilty of a misdemeanor and, upon conviction thereof, shall be punished by imprisonment in the county jail not less than ten days nor more than one year, or by a fine of not less than one hundred dollars nor more than one thousand five hundred dollars, or by both such fine and imprisonment.