Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- year
Type: System. . :: . .Int32
The year that the daylight saving time period applies to.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.