TimeSpan.fromInterval

Construct a TimeSpan from the given interval. The interval represents seconds as a double. This allows both whole and fractional seconds to be passed in.

struct TimeSpan
static
fromInterval
(
double sec
)

Return Value

Type: TimeSpan

A TimeSpan representing the given interval.

Meta