parameters: (self, td)
docstring: Converts timedelta to Duration.
docstring_summary: Converts timedelta to Duration.
docstring_tokens: Converts timedelta to Duration .
function: def FromTimedelta(self, td):
      """Converts timedelta to Duration."""
      self._NormalizeDuration(td.seconds + td.days * _SECONDS_PER_DAY,
                              td.microseconds * _NANOS_PER_MICROSECOND)
function_tokens: def FromTimedelta ( self , td ) : self . _NormalizeDuration ( td . seconds + td . days * _SECONDS_PER_DAY , td . microseconds * _NANOS_PER_MICROSECOND )