Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the DaylightTime class with the specified start, end, and time difference information.
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Sub New ( _
start As DateTime, _
end As DateTime, _
delta As TimeSpan _
)
public DaylightTime(
DateTime start,
DateTime end,
TimeSpan delta
)
public:
DaylightTime(
DateTime start,
DateTime end,
TimeSpan delta
)
new :
start:DateTime *
end:DateTime *
delta:TimeSpan -> DaylightTime
public function DaylightTime(
start : DateTime,
end : DateTime,
delta : TimeSpan
)
Parameters
- start
Type: System. . :: . .DateTime
The object that represents the date and time when daylight saving time begins. The value must be in local time.
- end
Type: System. . :: . .DateTime
The object that represents the date and time when daylight saving time ends. The value must be in local time.
- delta
Type: System. . :: . .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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.