Share via


DaylightTime Constructor

Initializes a new instance of the DaylightTime class.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

Syntax

public DaylightTime (
         DateTimestart,
         DateTimeend,
         TimeSpandelta
)

Parameters

  • start
    A DateTime object that represents the date and time when daylight saving time begins for the local time zone. You must specify this value in local time.
  • end
    A DateTime object that represents the date and time when daylight saving time ends for the local time zone. You must specify this value in local time.
  • delta
    A TimeSpan object that represents, in clock ticks, the difference between standard time and daylight saving time for the local time zone.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DaylightTime Class
DaylightTime Members
System.Globalization Namespace