def _set_field_value(self, dateval, fieldnum, new_value):
        values = {}
        for i, field in enumerate(self.fields):
            if field.REAL:
                if i < fieldnum:
                    values[field.name] = field.get_value(dateval)
                elif fieldnum > i:
                    values[field.name] = field.get_min(dateval)
                else:
                    values[field.name] = new_value

        return self.timezone.localize(datetime(**values))
dataset/ETHPy150Open agronholm/apscheduler/apscheduler/triggers/cron/__init__.py/CronTrigger._set_field_value/swapped operands of `>`