Compartir a través de


DaylightTime Constructor

Initializes a new instance of the DaylightTime class.

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

Syntax

public DaylightTime (
         DateTime start,
         DateTime end,
         TimeSpan delta
)

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, 4.1, and 4.2.

See Also

Reference

DaylightTime Class
DaylightTime Members
System.Globalization Namespace