System::DateTimeOffset::Compare method
DateTimeOffset::Compare method
Compares two DateTimeOffset objects.
static int System::DateTimeOffset::Compare(const DateTimeOffset &first, const DateTimeOffset &second)
Parameter | Type | Description |
---|---|---|
first | const DateTimeOffset& | First object to compare. |
second | const DateTimeOffset& | Second object to compare. |
ReturnValue
-1 - if first is earlier than second, 1 - if first is later than second, 0 - if first is equal to second.
See Also
- Class DateTimeOffset
- Class DateTimeOffset
- Namespace System
- Library Aspose.Font for C++