(a) No child under the age of sixteen years shall be upon the streets and sidewalks between the hours of 11:00 p.m. and 5:00 a.m. of the following morning.
(b) No child between the ages of sixteen and eighteen years shall be upon the streets or sidewalks between the hours of 12:00 midnight and 5:00 a.m. of the following morning.
(c) No parent or guardian of any child under the age of sixteen years shall allow such child on the streets or sidewalks between the hours of 11:00 p.m. and 5:00 a.m. of the following morning.
(d) No parent or guardian of any child between the ages of sixteen and eighteen years shall allow such child to be upon the streets or sidewalks between the hours of 12:00 midnight and 5:00 a.m. of the following morning.
(e) The provisions of this section do not apply to a minor accompanied by his parent, guardian or other adult person having care and custody of the minor, or where the minor is upon an emergency errand or legitimate business directed by his parent, guardian or other adult person having the care and custody of the minor, or where the minor is going to or coming from his place of employment.
(f) Any minor charged in violation of subsections (a) through (e) shall be dealt with in accordance with juvenile court law and procedure.
(g) Any parent or guardian who violates this section is guilty of a minor misdemeanor.