code: def diff(self, dt=None, abs=True):
          
          if dt is None:
              dt = pendulum.now().time()
          else:
              dt = self.__class__(dt.hour, dt.minute, dt.second, dt.microsecond)
  
          us1 = (
              self.hour * SECS_PER_HOUR + self.minute * SECS_PER_MIN + self.second
          ) * USECS_PER_SEC
  
          us2 = (
              dt.hour * SECS_PER_HOUR + dt.minute * SECS_PER_MIN + dt.second
          ) * USECS_PER_SEC
  
          klass = Duration
          if abs:
              klass = AbsoluteDuration
  
          return klass(microseconds=us2 - us1)
docs: Returns the difference between two Time objects as an Duration.
  
          :type dt: Time or None
  
          :param abs: Whether to return an absolute interval or not
          :type abs: bool
  
          :rtype: Duration