def is_daylight_saving_hour(self, datetime):
        """Check if a datetime is a daylight saving time."""
        if not self.daylight_saving_period:
            return False
        return self.daylight_saving_period.isTimeIncluded(datetime.hoy)
def is_daylight_saving_hour ( self , datetime ) : if not self . daylight_saving_period : return False return self . daylight_saving_period . isTimeIncluded ( datetime . hoy )
Check if a datetime is a daylight saving time.