def is_older_than(self, delta_spec=None):
        now = datetime.utcnow()
        if 'oclock' in delta_spec and 'weekday' in delta_spec:
            target_dow = self.DAY_OF_WEEK.get(delta_spec['weekday'].lower())
            today = now.date()
            target = self.next_dow(today, target_dow)
            target = datetime(day=target.day, month=target.month, year=target.year, hour=delta_spec['oclock'])
            return today > self.timestamp.date() and now > target
        elif 'oclock' in delta_spec:
            today = now.date()
            target = datetime(day=today.day, month=today.month, year=today.year, hour=delta_spec['oclock'])
            return today > self.timestamp.date() and now > target
        elif 'weekday' in delta_spec:
            # Default for weekday is 4AM
            target_dow = self.DAY_OF_WEEK.get(delta_spec['weekday'].lower())
            today = now.date()
            target = self.next_dow(today, target_dow)
            target = datetime(day=target.day, month=target.month, year=target.year, hour=4)
            return today > self.timestamp.date() and now > target
        return self.timedelta(delta_spec) < now
dataset/ETHPy150Open chango/inferno/inferno/lib/datefile.py/Datefile.is_older_than/original