+ elif feature == 'sunRised':
+ dict_hour['sunRised'] = (datel >= s["sunrise"] - timedelta(minutes=30)
+ and datel <= s["sunset"] - timedelta(minutes=30))
+ elif feature == 'noon':
+ dict_hour['noon'] = (datel.hour == s["noon"].hour)
+ elif feature == 'night':
+ dict_hour['night'] = (datel <= s["dawn"] - timedelta(minutes=30)
+ or datel >= s["dusk"] - timedelta(minutes=30))
+ elif feature == 'daylightSavingTime':
+ dict_hour['daylightSavingTime'] = (datel.dst() == timedelta(0))
+