System::TimeZoneInfo::IsAmbiguousTime 方法

TimeZoneInfo::IsAmbiguousTime(const DateTimeOffset&) const method

检查指定的日期和时间是否模糊,且可能映射到多个 UTC 时间。

bool System::TimeZoneInfo::IsAmbiguousTime(const DateTimeOffset &date_time_offset) const
参数类型描述
date_time_offsetconst DateTimeOffset&日期和时间。

ReturnValue

如果 date_time 是模糊的,则为 True。

另见

TimeZoneInfo::IsAmbiguousTime(DateTime) const method

检查指定的日期和时间是否模糊,且可能映射到多个 UTC 时间。

bool System::TimeZoneInfo::IsAmbiguousTime(DateTime date_time) const
参数类型描述
date_timeDateTime日期和时间。

ReturnValue

如果 date_time 是模糊的,则为 True。

另见