code: def test_get_offset_date_year_month_day_hour(
      param, input_offset_parser
  ):
      input_offset, expected_date_tuple = param
      output_date_tuple = (
          input_offset_parser.get_offset_date_year_month_day_hour(
              input_offset
          )
      )
  
      assert output_date_tuple == expected_date_tuple
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_input_offset_parser.py
imports: from __future__ import absolute_import
  from sagemaker.feature_store.feature_processor._input_offset_parser import InputOffsetParser
  from sagemaker.feature_store.feature_processor._constants import EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
  from datetime import datetime
  from dateutil.relativedelta import relativedelta
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_offset_date_year_month_day_hour(param, input_offset_parser) without return types