System.TimeZone.GetDaylightChanges Method

Returns the daylight saving time period for a particular year.

Syntax

public abstract System.Globalization.DaylightTime GetDaylightChanges (int year)

Parameters

year
The year that the daylight saving time period applies to.

Returns

A System.Globalization.DaylightTime object that contains the start and end date for daylight saving time in year.

Remarks

Only one daylight saving time period per year is supported.

If daylight saving time is not used in the current time zone, the return value is a System.Globalization.DaylightTime object, where the value of System.Globalization.DaylightTime.Start and System.Globalization.DaylightTime.End is DateTime.MinValue, and the value of System.Globalization.DaylightTime.Delta is a TimeSpan initialized to 0 ticks.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0