code: def dst(self, dt):
          
          if not self._is_dst(dt):
              return datetime.timedelta(0)
  
          offset = time.timezone - time.altzone
          return datetime.timedelta(seconds=-offset)
docs: Returns a difference in seconds between standard offset and
          dst offset.