DurationCompare Method

Compares two Duration values and returns an integer that indicates their relationship

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static int Compare(
	Duration d1,
	Duration d2
)

Parameters

d1  Duration
The first duration
d2  Duration
The second duration

Return Value

Int32
Returns -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.

See Also