code: def test_roll_date_object(self):
      offset = BusinessHour()
  
      dt = datetime(2014, 7, 6, 15, 0)
  
      result = offset.rollback(dt)
      assert result == datetime(2014, 7, 4, 17)
  
      result = offset.rollforward(dt)
      assert result == datetime(2014, 7, 7, 9)
  
imports: from __future__ import annotations
  from datetime import datetime, time
  import numpy
  import pytest
  from pandas._libs.tslibs import Timestamp
  from pandas._libs.tslibs.offsets import BusinessHour, CustomBusinessHour, Nano
  from pandas.tests.tseries.offsets.common import assert_offset_equal
  from pandas.tseries.holiday import USFederalHolidayCalendar
label_desc: Use image node_id 12 for calling the TestCustomBusinessHour obj's underlying member method code with example usage: obj.test_roll_date_object() without return types