A.
It shall be unlawful, hereafter, for any person who has not attained his 18th birthday to loiter, idle, wander, stroll, play or remain in or upon the public streets, highways, roads, playgrounds, public buildings, places of amusement or entertainment or places of business conducted for profit to which the public is invited and all public or quasi-public places whether on foot or in any vehicle within the Borough of Haledon between the hours of 10:00 p.m. and 6:00 a.m. seven days per week; provided, however, that the provisions of this section shall not apply to any such minor when accompanied by his or her parent or parents, guardian or other adult person having custody, care or control of such minor.
B.
It shall be unlawful for a juvenile of any age under 18 years within the discretion of the municipality to be in any public place during the hours when the juvenile is required to be in attendance at either a public or nonpublic school unless the juvenile is accompanied by a parent or guardian or is carrying written permission from the juvenile's educational authority allowing the juvenile to be in a public place.