TimeZone.GetDaylightChanges Method
Returns the daylight saving time period for a specified year.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public virtual abstract DaylightTime GetDaylightChanges (
intyear
)
Parameters
- year
The year to which the daylight saving time period applies.
Return Value
A System.Globalization.DaylightTime object that contains the start and end dates for daylight saving time in the specified year.
Remarks
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.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.