code: def _ParseDateTimeValue(self, byte_stream, file_offset):
      
      datetime_value_map = self._GetDataTypeMap('cups_ipp_datetime_value')
  
      try:
        value = self._ReadStructureFromByteStream(
            byte_stream, file_offset, datetime_value_map)
      except (ValueError, errors.ParseError) as exception:
        raise errors.ParseError(
            'Unable to parse datetime value with error: {0!s}'.format(exception))
  
      direction_from_utc = chr(value.direction_from_utc)
      rfc2579_date_time_tuple = (
          value.year, value.month, value.day_of_month,
          value.hours, value.minutes, value.seconds, value.deciseconds,
          direction_from_utc, value.hours_from_utc, value.minutes_from_utc)
      return dfdatetime_rfc2579_date_time.RFC2579DateTime(
          rfc2579_date_time_tuple=rfc2579_date_time_tuple)
docs: Parses a CUPS IPP RFC2579 date-time value from a byte stream.
  
      Args:
        byte_stream (bytes): byte stream.
        file_offset (int): offset of the attribute data relative to the start of
            the file-like object.
  
      Returns:
        dfdatetime.RFC2579DateTime: RFC2579 date-time stored in the value.
  
      Raises:
        ParseError: when the RFC2579 date-time value cannot be parsed.