class_docstr: Contains methods to parse the input offset to different formats.
  
  Args:
      now (datetime):
          The point of time that the parser should calculate offset against.
class_docstr_tok: ["Contains","methods","to","parse","the","input","offset","to","different","formats",".","Args",":","now","(","datetime",")",":","The","point","of","time","that","the","parser","should","calculate","offset","against","."]
docstr: Get the iso format of target date based on offset diff.
  
  Args:
      offset (Optional[str]): Offset that is used for target date calcluation.
  
  Returns:
      str: ISO-8061 formatted string of the offset date.
docstr_tok: ["Get","the","iso","format","of","target","date","based","on","offset","diff",".","Args",":","offset","(","Optional","[","str","]",")",":","Offset","that","is","used","for","target","date","calcluation",".","Returns",":","str",":","ISO-8061","formatted","string","of","the","offset","date","."]
code: def get_iso_format_offset_date(self, offset: Optional[str]) -> str:
      """Get the iso format of target date based on offset diff.
  
      Args:
          offset (Optional[str]): Offset that is used for target date calcluation.
  
      Returns:
          str: ISO-8061 formatted string of the offset date.
      """
      if offset is None:
          return None
  
      offset_datetime = self.get_offset_datetime(offset)
      return offset_datetime.strftime(
          EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
      )
  
file_path: sagemaker-python-sdk/src/sagemaker/feature_store/feature_processor/_input_offset_parser.py
imports: from __future__ import absolute_import
  import re
  from typing import Optional, Tuple, Union
  from datetime import datetime, timezone
  from dateutil.relativedelta import relativedelta
  from sagemaker.feature_store.feature_processor._constants import EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
label_desc: Use image node_id 2 for calling the InputOffsetParser obj's underlying member method code with example usage: obj.get_iso_format_offset_date(offset) and returns: offset_datetime, None