System::DateTime::Equals method
Contents
[
Hide
]DateTime::Equals(DateTime) const method
Determines if the specified instance of DateTime class represent the same date and time value as the current object.
bool System::DateTime::Equals(DateTime other) const
Parameter | Type | Description |
---|---|---|
other | DateTime | The instance of DateTime class to compare current object with |
ReturnValue
True if both other and current object represent the same value, otherwise - false
See Also
- Class DateTime
- Class DateTime
- Namespace System
- Library Aspose.PUB for C++
DateTime::Equals(DateTime, DateTime) method
Determines if the specified instances of DateTime class represent the same date and time value.
static constexpr bool System::DateTime::Equals(DateTime t1, DateTime t2)
Parameter | Type | Description |
---|---|---|
t1 | DateTime | The first comparand |
t2 | DateTime | The second comparand |
ReturnValue
True if both t1 and t2 represent the same value, otherwise - false
See Also
- Class DateTime
- Class DateTime
- Namespace System
- Library Aspose.PUB for C++