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

◆ time_span() [3/8]

template<typename duration_t , typename period_t = std::ratio<1>>
xtd::time_span::time_span ( const std::chrono::duration< duration_t, period_t > &  value)
inline

Initializes a new instance of the xtd::time_span structure to the specified number of ticks.

Parameters
tiksA time period expressed in 100-nanosecond units.
Remarks
A single tick represents one hundred nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond.
See std::chrono::duration for more information.