3. Violations. Every violation defined in this chapter is expressly designated as such. Any offense defined outside this chapter which is not expressly designated a violation shall be deemed a violation if:
- (a) Notwithstanding any other designation specified in the law or ordinance defining it, a sentence to a term of imprisonment which is not in excess of fifteen days is provided therein, or the only sentence provided therein is a fine; or
- (b) A sentence to a term of imprisonment in excess of fifteen days is provided for such offense in a law or ordinance enacted prior to the effective date of this chapter but the offense was not a crime prior to that date.