DateRangeCollectionTotalHours Method

Return the total number of hours in the provided date range collection.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static float TotalHours(
	List<DateRangeItem> dateRanges
)

Parameters

dateRanges  ListDateRangeItem
Reference to the collection of date ranges to measure.

Return Value

Single
The total number of decimal hours in the provided collection of date ranges, if valid. Otherwise, 0.

See Also