A violation of any provision of this chapter is declared to be a misdemeanor and, upon conviction thereof, shall be subject to penalties and costs as set forth in section 1-9. Each day such violation continues shall be punishable as a separate offense.