DurationFrom Years Method
Returns a Duration that represents a specified number of years, where the specification
is accurate to the nearest millisecond.
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
A Duration that represents the value
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public static Duration FromYears(
double value
)VB
Public Shared Function FromYears (
value As Double
) As DurationC++
public:
static Duration FromYears(
double value
)F#
static member FromYears :
value : float -> Duration Parameters
- value Double
- A number of years, accurate to the nearest millisecond
Return Value
DurationA Duration that represents the value