TimeNotationCollectionTotalTime Method
Return the total number of hours given in the provided collection,
stopping with the specified maximum repeated cycle amount.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public static float TotalTime(
List<TimeNotationItem> times,
DateTime startTime,
float maximumHours = 1040f,
int maximumDays = 365
)
Public Shared Function TotalTime (
times As List(Of TimeNotationItem),
startTime As DateTime,
Optional maximumHours As Single = 1040F,
Optional maximumDays As Integer = 365
) As Single
No code example is currently available or this language may not be supported.
- times ListTimeNotationItem
-
Reference to the collection of times to render.
- startTime DateTime
-
Date and time at which to start measuring the total time.
- maximumHours Single (Optional)
-
The optional maximum number of hours that can be rendered in the cycle.
The default is 1,040, or six months composed of 40-hour workweeks.
- maximumDays Int32 (Optional)
-
The optional maximum number of days that can be rendered in the cycle.
The default is 365, or one year.
Single
The total amount of time defined by the provided collection of time
notations, within the maximum scope of hours.