public static Duration seconds (double s)

Factory method that returns a Duration instance representing the specified number of seconds.

Parameters:
s    the number of seconds

Returns:  a Duration instance of the specified number of seconds