Returns the daylight saving time period for a particular year.
| C# | Visual Basic |
public override DaylightTime GetDaylightChanges( int year )
Public Overrides Function GetDaylightChanges ( _ year As Integer _ ) As DaylightTime
- year (Int32)
- The year to which the daylight saving time period applies.
A DaylightTime instance containing the start and end date for daylight saving time in year.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | year is less than 1 or greater than 9999. |