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[];
An array of DaylightTime.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | is thrown if the number of the year is less than 1 or greater than 9999. |