## DateTimeOffset::operator==(const DateTimeOffset\&) const method


确定当前对象和指定的 [DateTimeOffset](../) 对象是否表示相同的日期和时间值。

```cpp
bool System::DateTimeOffset::operator==(const DateTimeOffset &other) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| other | const DateTimeOffset\& | 用于与当前对象比较的 [DateTimeOffset](../) 对象 |

### ReturnValue

如果当前对象和指定对象表示相同的日期和时间值，则为 true；否则为 false

## 另见

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




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

## 另见

* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
