## TimeZoneInfo::HasSameRules method


Checks if current and another time zones have the same adjustment rules.

```cpp
bool System::TimeZoneInfo::HasSameRules(const TimeZoneInfoPtr &other) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | const TimeZoneInfoPtr\& | Time zone info. |

### ReturnValue

True if time zones have identical adjustment rules.

## See Also

* Typedef [TimeZoneInfoPtr](../../timezoneinfoptr/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
