(self)
return self.seconds * _MILLIS_PER_SECOND + millis
Converts a Duration to milliseconds.
Converts a Duration to milliseconds.
Converts a Duration to milliseconds .
def ToMilliseconds(self):
    """Converts a Duration to milliseconds."""
    millis = _RoundTowardZero(self.nanos, _NANOS_PER_MILLISECOND)
    return self.seconds * _MILLIS_PER_SECOND + millis
def ToMilliseconds ( self ) : millis = _RoundTowardZero ( self . nanos , _NANOS_PER_MILLISECOND ) return self . seconds * _MILLIS_PER_SECOND + millis