EAPConvertTotalHoursToTimeSpan Method |
Create a TimeSpan object representing the specified number of total hours.
The value may be greater than 24 and may include fractional hours.
Note that at this time any sub-second portion is discarded.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static TimeSpan TotalHoursToTimeSpan(
decimal totalHours
)
Public Shared Function TotalHoursToTimeSpan (
totalHours As Decimal
) As TimeSpan
Parameters
- totalHours
- Type: SystemDecimal
The total number of hours.
Return Value
Type:
TimeSpanThe corresponding TimeSpan object.
See Also