(self, td)
Convertd timedelta to Duration.
Convertd timedelta to Duration.
Convertd timedelta to Duration .
def FromTimedelta(self, td):
    """Convertd timedelta to Duration."""
    self._NormalizeDuration(td.seconds + td.days * _SECONDS_PER_DAY,
                            td.microseconds * _NANOS_PER_MICROSECOND)
def FromTimedelta ( self , td ) : self . _NormalizeDuration ( td . seconds + td . days * _SECONDS_PER_DAY , td . microseconds * _NANOS_PER_MICROSECOND )