GregorianDateCompareTo Method (GregorianDate) |
Compares this instance with another instance of the same type.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public int CompareTo(
GregorianDate other
)
Public Function CompareTo (
other As GregorianDate
) As Integer
public:
virtual int CompareTo(
GregorianDate other
) sealed
abstract CompareTo :
other : GregorianDate -> int
override CompareTo :
other : GregorianDate -> int
Parameters
- other
- Type: AGI.Foundation.TimeGregorianDate
An object to compare with this instance.
Return Value
Type:
Int32
A value indicating the relative order of the objects being compared. The return value has these meanings:
Value | Meaning |
---|
Less than zero |
This instance is less than other.
|
Zero |
This instance is equal to other.
|
Greater than zero |
This instance is greater than other.
|
Implements
IComparableTCompareTo(T)See Also