Duration.from_int


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.0" ) ]
public Duration.from_int (int t)

Creates a Duration from the duration in second.

Parameters:

t

The duration in second

Returns:

The newly created Duration