Except in circumstances set out in section 34-32, it shall be unlawful for the parent, guardian or other adult having the care and custody of a minor under the age of 18 years to permit, whether knowingly or through ineffective control or supervision, such minor to loiter, idle, wander, stroll or play in or upon the public streets, highways, roads, alleys, parks, playgrounds, or other public grounds, public places, or public buildings, places of amusement or entertainment, eating places, vacant lots, or any other place normally accessible to the general public for public use, whether on foot or in a motor vehicle or by any other means, during the following periods of time: (1) For minors age 15 years and under, between the hours of 10:30 p.m. on any day and 6:00 a.m. of the following day; and (2) For minors age 16 and 17 years, between the hours of 12:00 midnight on any day and 6:00 a.m. of the following day.