संपादित करें

इसके माध्यम से साझा किया गया


DaylightTime(DateTime, DateTime, TimeSpan) Constructor

Definition

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