(self)
return self.seconds * _NANOS_PER_SECOND + self.nanos
Converts a Duration to nanoseconds.
Converts a Duration to nanoseconds.
Converts a Duration to nanoseconds .
def ToNanoseconds(self):
    """Converts a Duration to nanoseconds."""
    return self.seconds * _NANOS_PER_SECOND + self.nanos
def ToNanoseconds ( self ) : return self . seconds * _NANOS_PER_SECOND + self . nanos