System.Globalization.DaylightTime Class

Defines the period of daylight saving time.

See Also: DaylightTime Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class DaylightTime

Remarks

Daylight saving time is a period during the year when the clock is advanced, usually by an hour, to take advantage of extended daylight hours. At the end of the period, the clock is set back to the standard time.

Note:

The System.Globalization.DaylightTime object returned by the TimeZone.GetDaylightChanges(int) method recognizes only the time zone adjustment rule that is currently in effect, and ignores any previous adjustment rules for which the system has information. Instead, it applies the current adjustment rule backward in time to periods when it may not have been in effect. To retrieve information about all the known adjustment rules for a particular time zone, use the TimeZoneInfo.GetAdjustmentRules method.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0