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