Compare()
DateTimeOffset::Compare(const DateTimeOffset&, const DateTimeOffset&) method
Compares two DateTimeOffset objects.
static int System::DateTimeOffset::Compare(const DateTimeOffset &first, const DateTimeOffset &second)
Arguments
Parameter | Type | Description |
---|---|---|
first | const DateTimeOffset& | First object to compare. |
second | const DateTimeOffset& | Second object to compare. |
Return Value
-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
- Namespace System
- Library Aspose.Slides