Top Method Summary
Options Name Purpose
INT64 ToMilliseconds () Returns the Length of this duration, in milliseconds

Top Constructor Summary
Options Name Purpose
Duration () Static constructor for the Duration class
Duration (int64, TimeUnitEnum) Constructor for the Duration class

Top Property Summary
Options Name Purpose
INT64 Length
Consultingwerk.TimeUnitEnum TimeUnit


Method Detail
Top

INT64 ToMilliseconds ()

Purpose: Returns the Length of this duration, in milliseconds
Notes: If the time unit of this duration instance is Months
a value of 30 days per month is used. The Years duration
also uses 30 days per month for determining the milliseconds

Returns INT64
The millisecond value of the duration.


Constructor Detail
Top

STATIC Duration ()

Purpose: Static constructor for the Duration class
Notes:

Top

Duration (int64, TimeUnitEnum)

Purpose: Constructor for the Duration class
Notes: The values passed are immutable

Parameters:
piLength INT64
The length of the duration. Must be >=0
poTimeUnit Consultingwerk.TimeUnitEnum
The time unit (eg seconds) for the duration


Property Detail
Top

INT64 Length


Returns INT64
Top

Consultingwerk.TimeUnitEnum TimeUnit


Returns Consultingwerk.TimeUnitEnum


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:04:02