TimeZoneInfo.AdjustmentRule.DaylightDelta Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the amount of time that is required to form the time zone's daylight saving time. This amount of time is added to the time zone's offset from Coordinated Universal Time (UTC).
public:
property TimeSpan DaylightDelta { TimeSpan get(); };
public TimeSpan DaylightDelta { get; }
member this.DaylightDelta : TimeSpan
Public ReadOnly Property DaylightDelta As TimeSpan
Property Value
A TimeSpan object that indicates the amount of time to add to the standard time changes as a result of the adjustment rule.
Remarks
The following formula defines a time zone's daylight saving time:
TimeZoneTime = BaseUtcOffset + DaylightDelta + UtcTime
The value of the DaylightDelta property can range from 14 hours to -14 hours.
Note
The DaylightDelta property measures the difference between the time zone's standard time and its daylight saving time. It does not apply to changes in a time zone's standard offset from Coordinated Universal Time (UTC). 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.
The most common value of the DaylightDelta property is 1.0 hours. The application of the daylight saving time adjustment rule increases the time zone's offset from Coordinated Universal Time (UTC) by one hour.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기