code: def next_day(date, dayOfWeek):
      
      sc = SparkContext._active_spark_context
      return Column(sc._jvm.functions.next_day(_to_java_column(date), dayOfWeek))
docs: Returns the first date which is later than the value of the date column.
  
      Day of the week parameter is case insensitive, and accepts:
          "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun".
  
      >>> df = spark.createDataFrame([('2015-07-27',)], ['d'])
      >>> df.select(next_day(df.d, 'Sun').alias('date')).collect()
      [Row(date=datetime.date(2015, 8, 2))]