def timetuple(self):
        dst = self._dst()
        if dst is None:
            dst = -1
        elif dst:
            dst = 1
        return _build_struct_time(self.year, self.month, self.day,
                                  self.hour, self.minute, self.second,
                                  dst)
Return local time tuple compatible with time.localtime().
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/datetime.py/datetime.timetuple