Click or drag to resize

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
)

Parameters

totalHours
Type: SystemDecimal
The total number of hours.

Return Value

Type: TimeSpan
The corresponding TimeSpan object.
See Also