Search
Duration.fromSeconds Method
See Also
 






Returns a Duration that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.

Namespace: com.mindfusion.common
File: com.mindfusion.common

 Syntax

Java  Copy Code

public static Duration fromSeconds (
    long value
)

 Parameters

value

A number of seconds, accurate to the nearest millisecond.

 Return Value

A Duration that represents value.

 See Also