(a) Swimming by any individual shall be prohibited on and within 30 feet of any and all boat ramps, docks or piers owned, maintained or operated by the county. (b) No adult shall knowingly allow any child in their care, custody, or control to swim on or within 30 feet of any and all boat ramps, docks or piers, owned, maintained or operated by the county. (c) Violation of this section may be prosecuted by summons in the magistrate court or state court. (d) Violation of this section may be punished according to the general penalties described in sections 1-14 and 1-15.