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

◆ nanoseconds()

int32 xtd::time_span::nanoseconds ( ) const
noexcept

Gets the nanoseconds component of the time interval represented by the current xtd::time_span structure.

Returns
The nanosecond component of the current xtd::time_span structure. The return value ranges from -999 through 999.
Remarks
The xtd::time_span::nanoseconds property represents whole nanoseconds, whereas the xtd::time_span::total_nanoseconds property represents whole and fractional nanoseconds.