Duration(Int32, Int32, Int32, TimeSpan) Constructor
Construct a duration from a number of years, months, weeks, and a
TimeSpanNamespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public Duration(
int years,
int months,
int weeks,
TimeSpan timeSpan
)
Public Sub New (
years As Integer,
months As Integer,
weeks As Integer,
timeSpan As TimeSpan
)
public:
Duration(
int years,
int months,
int weeks,
TimeSpan timeSpan
)
new :
years : int *
months : int *
weeks : int *
timeSpan : TimeSpan -> Duration
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