20B. Power of entry for the purposes of this Act.

(a) except between the hours of sunrise and sunset; and
(b) without the consent of the owner, occupier or person in charge of the public premises and without giving him a written notice of not less than twenty-four hours, declaring the intention to make such entry:
21. [Offence and penalty].