Equals()
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.
constexpr bool System::DateTime::Equals(DateTime other) const
Arguments
Parameter | Type | Description |
---|---|---|
other | DateTime | The instance of DateTime class to compare current object with |
Return Value
True if both other and current object represent the same value, otherwise - false
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)
Arguments
Parameter | Type | Description |
---|---|---|
t1 | DateTime | The first comparand |
t2 | DateTime | The second comparand |
Return Value
True if both t1 and t2 represent the same value, otherwise - false
See Also
- Class DateTime
- Namespace System
- Library Aspose.Slides