Duration(Int32, Int32, Int32, TimeSpan) Constructor

Construct a duration from a number of years, months, weeks, and a TimeSpan

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public Duration(
	int years,
	int months,
	int weeks,
	TimeSpan timeSpan
)

Parameters

years  Int32
The number of years
months  Int32
The number of months
weeks  Int32
The number of weeks
timeSpan  TimeSpan
The time span used to initialize the instance

See Also