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

◆ time_span() [4/8]

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

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

Parameters
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 hours, minutes, and seconds are converted to ticks, and that value initializes this instance.