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

◆ time_span() [5/8]

xtd::time_span::time_span ( int32  days,
int32  hours,
int32  minutes,
int32  seconds 
)

Initializes a new instance of the xtd::time_span structure to a specified number of days, hours, minutes, and seconds.

Parameters
daysNumber of days.
hoursNumber of hours.
minutesNumber of minutes.
secondsNumber of seconds.
Exceptions
xtd::argument_out_of_range_exceptionThe parameters specify a xtd::time_span value less than xtd::time_span::min_value or greater than xtd::time_span::max_value.
Remarks
The specified days, hours, minutes, and seconds are converted to ticks, and that value initializes this instance.