xtd
0.2.0
Loading...
Searching...
No Matches
◆
hours()
int32
xtd::time_span::hours
(
)
const
noexcept
Gets the hours component of the time interval represented by the current
xtd::time_span
structure.
Returns
The hour component of the current
xtd::time_span
structure. The return value ranges from -23 through 23.
Remarks
The
xtd::time_span::hours
property represents whole hours, whereas the
xtd::time_span::total_hours
property represents whole and fractional hours.
Examples
time_span.cpp
.
xtd
time_span
Generated on Sat Sep 14 2024 21:25:18 for xtd by
Gammasoft
. All rights reserved.