## TimeSpan::operator==(TimeSpan) const method


Determines if the time interval represented by the current object is equal to the time interval represented by the specified object.

```cpp
bool System::TimeSpan::operator==(TimeSpan value) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | TimeSpan | The [TimeSpan](../) object to compare the current object with |

### ReturnValue

True if the current object and the specified object represent the same time interval, otherwise - false

## See Also

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
## TimeSpan::operator==(std::nullptr_t) const method




```cpp
bool System::TimeSpan::operator==(std::nullptr_t) const
```

## See Also

* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
