NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TimeZone.GetDaylightChanges

Returns an array of DaylightTime that reflects the daylight saving periods in a particular year.

We currently only support having one DaylightSavingTime per year. If daylight saving time is not used in the current time zone, null will be returned.

[Visual Basic]
MustOverride Public Function GetDaylightChanges( _
   ByVal year As Integer _
) As DaylightTime ()
[C#]
public abstract DaylightTime[] GetDaylightChanges(
   int year
);
[C++]
public: virtual DaylightTime* GetDaylightChanges(
   int year
) [] = 0;
[JScript]
public abstract function GetDaylightChanges(
   year : int
) : DaylightTime[];

Parameters

year
The year to get the DaylightChanges on.

Return Value

An array of DaylightTime.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException is thrown if the number of the year is less than 1 or greater than 9999.

See Also

TimeZone Class | TimeZone Members | System Namespace