def __init__(self, log_node): LogObjectInfo.__init__(self, log_node) self.configuration = log_node.configuration() self.current_timestamp = time.time() self.tzinfo_range = get_tzinfo_range(LocalTZInfo, self.first_record['timestamp'], (self.last_record['timestamp']+ LocalTZInfo.YEAR+ LocalTZInfo.DAY+1)) return
def get_tzinfo_range(self, start, end): return tzinfo.get_tzinfo_range(self._tzklass, start, end)