This article [division] governs trials of violations of county ordinances and ordinances of state authorities, which violations may be punished by incarceration or monetary penalty. The punishment imposed for any ordinance violation shall not exceed a fine of six hundred dollars ($600.00) or sixty (60) days' imprisonment or both, except as otherwise provided by general law, and shall not exceed the maximum punishment specified by the ordinance.