Duration.from_string


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.0" ) ]
public Duration.from_string (string str)

Creates a Duration from the duration in string.

Parameters:

str

The string representation of the duration

Returns:

The newly created Duration