TimeSpan.fromNanos

Construct a TimeSpan from the given number of nanoseconds

Note: This may cause a loss of data since a TimeSpan's resolution is in 100ns increments.

struct TimeSpan
static
fromNanos
(
long value
)

Return Value

Type: TimeSpan

A TimeSpan representing the given number of nanoseconds.

Meta