System::TimeZoneInfo::HasSameRules 方法

TimeZoneInfo::HasSameRules method

检查当前时区和另一个时区是否具有相同的调整规则。

bool System::TimeZoneInfo::HasSameRules(const TimeZoneInfoPtr &other) const
参数类型描述
其他const TimeZoneInfoPtr&时区信息。

ReturnValue

如果时区具有相同的调整规则,则为 true。

另见