def _GetNextWeekdayDate(weekday, min_date=None):
  """Returns the date of the current or next weekday on or after min_date.

  Args:
    weekday: int weekday number, where Monday is 0 and Sunday is 6.
    min_date: datetime.date object of the minimum date to find the weekday on
        or after. default of None uses today as the minimum date.
  Returns:
    datetime.date object of the current or next desired weekday.
  """
  if min_date is None:
    min_date = datetime.datetime.utcnow().date()

  next_date = min_date

  if min_date.weekday() > weekday:
    next_date += datetime.timedelta(7 - min_date.weekday() + weekday)
  else:
    next_date += datetime.timedelta(min_date.weekday() - weekday)

  return next_date
dataset/ETHPy150Open google/simian/src/simian/mac/common/applesus.py/_GetNextWeekdayDate/swapped operands of `-`