Click or drag to resize
OSIsoft, LLC

AFTimeZoneGetDaylightChanges Method

Returns the daylight saving time period for a particular year.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public override DaylightTime GetDaylightChanges(
	int year


Type: SystemInt32
The year to which the daylight saving time period applies.

Return Value

Type: DaylightTime
A DaylightTime instance containing the start and end date for daylight saving time in the specified year.

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

Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5, 2.4
See Also
Enabling Operational Intelligence