Period.Compare 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
public static int Compare(
	Period? p1,
	Period? p2
)

Parameters

p1  Period
The first period
p2  Period
The second period

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