A.
No civil action shall be maintained against the Town of Fishkill or the Town Superintendent of Highways of the Town of Fishkill, or against any improvement district in the Town of Fishkill, for damages or injuries to person or property sustained by reason of any highway, bridge, culvert or any other property owned by the Town of Fishkill or any property owned by any improvement district therein being defective, out of repair, unsafe, dangerous or obstructed, unless written notice of such defective, unsafe, dangerous or obstructed condition of such highway, bridge, culvert or any other property owned by the Town of Fishkill or any property owned by any improvement district was actually given to the Town Clerk of the Town of Fishkill or the Town Superintendent of Highways of the Town of Fishkill and there was a failure or neglect within a reasonable time after the giving of such notice to repair or remove the defect, danger or obstruction complained of.
B.
No such action shall be maintained for damages or injuries to persons or property sustained solely in consequence of the existence of snow or ice upon any highway, bridge, culvert or any other property owned by the Town of Fishkill or any property owned by any improvement district in the Town of Fishkill unless written notice thereof, specifying the particular place, was actually given to the Town Clerk of the Town of Fishkill or the Town Superintendent of Highways of the Town of Fishkill and there was a failure or neglect to cause such snow or ice to be removed or to make the place otherwise reasonably safe within a reasonable time after the receipt of such notice.