parameters: (self, seconds, nanos)
docstring: Set Duration by seconds and nonas.
docstring_summary: Set Duration by seconds and nonas.
docstring_tokens: Set Duration by seconds and nonas .
function: def _NormalizeDuration(self, seconds, nanos):
      """Set Duration by seconds and nonas."""
      # Force nanos to be negative if the duration is negative.
      if seconds < 0 and nanos > 0:
        seconds += 1
        nanos -= _NANOS_PER_SECOND
      self.seconds = seconds
      self.nanos = nanos
function_tokens: def _NormalizeDuration ( self , seconds , nanos ) : # Force nanos to be negative if the duration is negative. if seconds < 0 and nanos > 0 : seconds += 1 nanos -= _NANOS_PER_SECOND self . seconds = seconds self . nanos = nanos