DurationCompare Method
Compares two Duration values and returns an integer that indicates their relationship
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static int Compare(
Duration d1,
Duration d2
)
Public Shared Function Compare (
d1 As Duration,
d2 As Duration
) As Integer
public:
static int Compare(
Duration d1,
Duration d2
)
static member Compare :
d1 : Duration *
d2 : Duration -> int
- d1 Duration
- The first duration
- d2 Duration
- The second duration
Int32Returns -1 if the first instance is less than the second, 0 if they are equal, or 1 if the
first instance is greater than the second.