xtd 0.2.0
Loading...
Searching...
No Matches

◆ from_microseconds() [1/2]

static time_span xtd::time_span::from_microseconds ( double  value)
static

Returns a xtd::time_span that represents a specified number of microseconds.

Parameters
valueA number of microseconds.
Returns
An object that represents value.
Exceptions
xtd::overflow_exceptionvalue is less than xtd::time_span::min_value or greater than xtd::time_span::max_value.
-or-
value is xtd::double_object::positive_infinity.
-or-
value is xtd::double_object::negative_infinity.
xtd::argument_exceptionvalue is equal to xtd::double_object::NaN.