parameters: (self)
return_statement: return self.seconds
docstring: Converts a Duration to seconds.
docstring_summary: Converts a Duration to seconds.
docstring_tokens: Converts a Duration to seconds .
function: def ToSeconds(self):
      """Converts a Duration to seconds."""
      return self.seconds
function_tokens: def ToSeconds ( self ) : return self . seconds