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

◆ from_ticks() [2/2]

static time_span xtd::time_span::from_ticks ( xtd::ticks  value)
static

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

Parameters
valueA number of ticks.
Returns
An object that represents value.
Remarks
This is a convenience method with the same behavior as the xtd::time_spam.xtd::time_spam (int64) constructor. A single tick represents one hundred nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond.