code: def new(self):
          # type: () -> None
          '''
          A method to create a new UDF Timestamp.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Timestamp already initialized')
  
          tm = time.time()
          local = time.localtime(tm)
  
          self.tz = utils.gmtoffset_from_tm(tm, local)
          # FIXME: for the timetype, 0 is UTC, 1 is local, 2 is 'agreement'.
          # We should let the user set this.
          self.timetype = 1
          self.year = local.tm_year
          self.month = local.tm_mon
          self.day = local.tm_mon
          self.hour = local.tm_hour
          self.minute = local.tm_min
          self.second = local.tm_sec
          self.centiseconds = 0
          self.hundreds_microseconds = 0
          self.microseconds = 0
  
          self._initialized = Truf new(self):
          # type: () -> None
          '''
          A method to create a new UDF Timestamp.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Timestamp already initialized')
  
          tm = time.time()
          local = time.localtime(tm)
  
          self.tz = utils.gmtoffset_from_tm(tm, local)
          # FIXME: for the timetype, 0 is UTC, 1 is local, 2 is 'agreement'.
          # We should let the user set this.
          self.timetype = 1
          self.year = local.tm_year
          self.month = local.tm_mon
          self.day = local.tm_mon
          self.hour = local.tm_hour
          self.minute = local.tm_min
          self.second = local.tm_sec
          self.centiseconds = 0
          self.hundreds_microseconds = 0
          self.microseconds = 0
  
          self._initialized = True
docs: A method to create a new UDF Timestamp.
  
          Parameters:
           None.
          Returns:
           Nothing.