TimeZone.GetDaylightChanges Method
Returns the daylight saving time period for a specified year.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
public virtual abstract DaylightTime GetDaylightChanges (
int year
)
- year
The year to which the daylight saving time period applies.
A System.Globalization.DaylightTime object that contains the start and end dates for daylight saving time in the specified year.
Only one daylight saving time period per year is supported.
If daylight saving time is not used in the time zone you are in, the return value is a DaylightTime object, where the value of both Start and End is DateTime.MinValue, and the value of DaylightTime.Delta is a TimeSpan object initialized to 0 (zero) ticks.
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.