System::TimeZoneInfo::GetUtcOffsetFromUtc 方法

TimeZoneInfo::GetUtcOffsetFromUtc(DateTime, const TimeZoneInfoPtr&) method

内部辅助函数,返回指定时区中 UTC 日期时间的 UTC 偏移量。仅供内部使用。

static TimeSpan System::TimeZoneInfo::GetUtcOffsetFromUtc(DateTime time, const TimeZoneInfoPtr &zone)

另见

TimeZoneInfo::GetUtcOffsetFromUtc(DateTime, const TimeZoneInfoPtr&, bool&, bool&) method

内部辅助函数,返回指定时区中 UTC 日期时间的 UTC 偏移量。仅供内部使用。

static TimeSpan System::TimeZoneInfo::GetUtcOffsetFromUtc(DateTime time, const TimeZoneInfoPtr &zone, bool &is_daylight_savings, bool &is_ambiguous_local_dst)

另见