xtd::time_span::time_span | ( | int32 | days, |
int32 | hours, | ||
int32 | minutes, | ||
int32 | seconds, | ||
int32 | milliseconds, | ||
int32 | microseconds | ||
) |
Initializes a new instance of the xtd::time_span structure to a specified number of days, hours, minutes, seconds, millisonds, and microseconds.
days | Number of days. |
hours | Number of hours. |
minutes | Number of minutes. |
seconds | Number of seconds. |
milliseconds | Number of milliseconds. |
microseconds | Number of microseconds. |
xtd::argument_out_of_range_exception | The parameters specify a xtd::time_span value less than xtd::time_span::min_value or greater than xtd::time_span::max_value. |