(self, seconds)
Converts seconds to Duration.
Converts seconds to Duration.
Converts seconds to Duration .
def FromSeconds(self, seconds):
    """Converts seconds to Duration."""
    self.seconds = seconds
    self.nanos = 0
def FromSeconds ( self , seconds ) : self . seconds = seconds self . nanos = 0