DateRangeCollectionTotalHours Method
Return the total number of hours in the provided date range collection.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public static float TotalHours(
List<DateRangeItem> dateRanges
)
Public Shared Function TotalHours (
dateRanges As List(Of DateRangeItem)
) As Single
No code example is currently available or this language may not be supported.
- dateRanges ListDateRangeItem
-
Reference to the collection of date ranges to measure.
Single
The total number of decimal hours in the provided collection of date
ranges, if valid. Otherwise, 0.