code: def test_business_day_schedule(
      self,
      start_dates,
      end_dates,
      holidays,
      backward,
      expected_schedule,
  ):
      start_dates = dates.dates_from_np_datetimes(
          _to_np_datetimes(start_dates)
      )
      end_dates = dates.dates_from_np_datetimes(
          _to_np_datetimes(end_dates)
      )
      holiday_calendar = dates.create_holiday_calendar(
          weekend_mask=dates.WeekendMask.SATURDAY_SUNDAY,
          holidays=holidays,
          start_year=2020,
          end_year=2020,
      )
      expected_schedule = dates.dates_from_np_datetimes(
          _to_np_datetimes(expected_schedule)
      )
      actual_schedule = dates.BusinessDaySchedule(
          start_date=start_dates,
          end_date=end_dates,
          holiday_calendar=holiday_calendar,
          backward=backward,
      ).dates()
      self.assertAllEqual(
          expected_schedule.ordinal(), actual_schedule.ordinal()
      )
  
file_path: tf-quant-finance/tf_quant_finance/datetime/schedules_test.py
imports: import datetime
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import test_data
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 4 for calling the SchedulesTest obj's underlying member method code with example usage: obj.test_business_day_schedule(start_dates, end_dates, holidays, backward, expected_schedule) without return types