## DateTimeOffset::EqualsExact(const DateTimeOffset\&) const method


Checks if two [DateTimeOffset](../) objects represents the same time point and has the same offset.

```cpp
bool System::DateTimeOffset::EqualsExact(const DateTimeOffset &other) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | const DateTimeOffset\& | [Object](../../object/) to compare. |

### ReturnValue

true if current object is exact equal to **other**, otherwise - false.

## See Also

* Class [DateTimeOffset](../)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## DateTimeOffset::EqualsExact(const SharedPtr\<Object\>\&) const method


Checks if two [DateTimeOffset](../) objects represents the same time point and has the same offset.

```cpp
bool System::DateTimeOffset::EqualsExact(const SharedPtr<Object> &obj) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | const SharedPtr\<Object\>\& | [Object](../../object/) to compare. |

### ReturnValue

true if current object is exact equal to **obj**, otherwise - false.

## See Also

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
