PeriodCompare Method
Compares two Period values and returns an integer that indicates their relationship
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
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.
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public static int Compare(
Period? p1,
Period? p2
)VB
Public Shared Function Compare (
p1 As Period,
p2 As Period
) As IntegerC++
public:
static int Compare(
Period^ p1,
Period^ p2
)F#
static member Compare :
p1 : Period *
p2 : Period -> int Parameters
Return Value
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.