TimeZoneInfo.AdjustmentRule.DaylightDelta TimeZoneInfo.AdjustmentRule.DaylightDelta TimeZoneInfo.AdjustmentRule.DaylightDelta TimeZoneInfo.AdjustmentRule.DaylightDelta Property


获取形成时区的夏时制所需的时间量。Gets the amount of time that is required to form the time zone's daylight saving time. 该时间量添加到时区与协调世界时 (UTC) 的偏移量中。This amount of time is added to the time zone's offset from Coordinated Universal Time (UTC).

 property TimeSpan DaylightDelta { TimeSpan get(); };
public TimeSpan DaylightDelta { get; }
member this.DaylightDelta : TimeSpan
Public ReadOnly Property DaylightDelta As TimeSpan


一个 TimeSpan 对象,指示作为调整规则的执行结果而添加到标准时间更改中的时间量。A TimeSpan object that indicates the amount of time to add to the standard time changes as a result of the adjustment rule.


以下公式定义时区的夏时制:The following formula defines a time zone's daylight saving time:

TimeZoneTime = BaseUtcOffset + DaylightDelta + UtcTime  

DaylightDelta属性的值的范围为14小时到-14 小时。The value of the DaylightDelta property can range from 14 hours to -14 hours.


DaylightDelta属性测量时区标准时间和夏时制之间的时差。The DaylightDelta property measures the difference between the time zone's standard time and its daylight saving time. 它不适用于时区的标准偏移与协调世界时 (UTC) 之间的更改。It does not apply to changes in a time zone's standard offset from Coordinated Universal Time (UTC). 若要表示已更改其标准时间与 UTC 的偏移量的时区, 必须调用CreateCustomTimeZone方法以创建新时区。To represent a time zone that has changed its standard time offset from UTC, you must call the CreateCustomTimeZone method to create a new time zone.

最常见的DaylightDelta属性值为1.0 小时。The most common value of the DaylightDelta property is 1.0 hours. 夏令时调整规则的应用会将时区相对于协调世界时 (UTC) 的偏移量增加1小时。The application of the daylight saving time adjustment rule increases the time zone's offset from Coordinated Universal Time (UTC) by one hour.