Share via


GetDaylightChanges Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the daylight saving time period for a particular year.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public MustOverride Function GetDaylightChanges ( _
    year As Integer _
) As DaylightTime
public abstract DaylightTime GetDaylightChanges(
    int year
)
public:
virtual DaylightTime^ GetDaylightChanges(
    int year
) abstract
abstract GetDaylightChanges : 
        year:int -> DaylightTime 
public abstract function GetDaylightChanges(
    year : int
) : DaylightTime

Parameters

Return Value

Type: System.Globalization. . :: . .DaylightTime
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 DaylightTime object, where the value of Start and End is DateTime..::..MinValue, and the value of DaylightTime..::..Delta is a TimeSpan initialized to 0 ticks.

.NET Framework Security

See Also

Reference

TimeZone Class

System Namespace