PeriodCompare Method
Compares two Period 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(
Period p1,
Period p2
)
Public Shared Function Compare (
p1 As Period,
p2 As Period
) As Integer
public:
static int Compare(
Period^ p1,
Period^ p2
)
static member Compare :
p1 : Period *
p2 : Period -> int
- p1 Period
- The first period
- p2 Period
- The second period
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.