DaylightTime(DateTime, DateTime, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DaylightTime class with the specified start, end, and time difference information.
public:
DaylightTime(DateTime start, DateTime end, TimeSpan delta);
public DaylightTime (DateTime start, DateTime end, TimeSpan delta);
new System.Globalization.DaylightTime : DateTime * DateTime * TimeSpan -> System.Globalization.DaylightTime
Public Sub New (start As DateTime, end As DateTime, delta As TimeSpan)
Parameters
- start
- DateTime
The object that represents the date and time when daylight saving time begins. The value must be in local time.
- end
- DateTime
The object that represents the date and time when daylight saving time ends. The value must be in local time.
- delta
- TimeSpan
The object that represents the difference between standard time and daylight saving time, in ticks.
Remarks
The start
parameter becomes the value of the Start property of the new object. The end
parameter becomes the value of the End property of the new object. The delta
parameter becomes the value of the Delta property of the new object.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za