Every criminal offense which does not amount to a felony is a misdemeanor, the punishment usually being a fine or imprisonment in the county jail, or both.27