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

◆ total_hours()

double xtd::time_span::total_hours ( ) const
noexcept

Gets the value of the current xtd::time_span structure expressed in whole and fractional hours.

Returns
The total number of hours represented by this instance.
Remarks
The xtd::time_span::total_hours property represents whole and fractional hours, whereas the xtd::time_span::hours property represents whole hours.
Examples
time_span.cpp.