code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Time Stamp record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('TF record not yet initialized!')
  
          outlist = [b'TF', struct.pack('=BBB', RRTFRecord.length(self.time_flags), SU_ENTRY_VERSION, self.time_flags)]
          for fieldname in self.FIELDNAMES:
              field = getattr(self, fieldname)
              if field is not None:
                  outlist.append(field.record())
  
          return b''.join(outlistf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Time Stamp record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('TF record not yet initialized!')
  
          outlist = [b'TF', struct.pack('=BBB', RRTFRecord.length(self.time_flags), SU_ENTRY_VERSION, self.time_flags)]
          for fieldname in self.FIELDNAMES:
              field = getattr(self, fieldname)
              if field is not None:
                  outlist.append(field.record())
  
          return b''.join(outlist)
docs: Generate a string representing the Rock Ridge Time Stamp record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.