code: def parse(self, datestr):
          # type: (bytes) -> None
          '''
          Parse a Directory Record date out of a string.
  
          Parameters:
           datestr - The string to parse the date out of.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Directory Record Date already initialized')
  
          (self.years_since_1900, self.month, self.day_of_month, self.hour,
           self.minute, self.second,
           self.gmtoffset) = struct.unpack_from(self.FMT, datestr, 0)
  
          self._initialized = Truf parse(self, datestr):
          # type: (bytes) -> None
          '''
          Parse a Directory Record date out of a string.
  
          Parameters:
           datestr - The string to parse the date out of.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Directory Record Date already initialized')
  
          (self.years_since_1900, self.month, self.day_of_month, self.hour,
           self.minute, self.second,
           self.gmtoffset) = struct.unpack_from(self.FMT, datestr, 0)
  
          self._initialized = True
docs: Parse a Directory Record date out of a string.
  
          Parameters:
           datestr - The string to parse the date out of.
          Returns:
           Nothing.