mscorlib(4.0.0.0) API with additions
System.Globalization.DaylightTime Class Reference

Defines the period of daylight saving time. More...

Collaboration diagram for System.Globalization.DaylightTime:
[legend]

Public Member Functions

 DaylightTime (DateTime start, DateTime end, TimeSpan delta)
 Initializes a new instance of the T:System.Globalization.DaylightTime class with the specified start, end, and time difference information. More...
 

Public Attributes

DateTime Start => m_start
 Gets the object that represents the date and time when the daylight saving period begins. More...
 
DateTime End => m_end
 Gets the object that represents the date and time when the daylight saving period ends. More...
 
TimeSpan Delta => m_delta
 Gets the time interval that represents the difference between standard time and daylight saving time. More...
 

Detailed Description

Defines the period of daylight saving time.

Definition at line 8 of file DaylightTime.cs.

Constructor & Destructor Documentation

◆ DaylightTime()

System.Globalization.DaylightTime.DaylightTime ( DateTime  start,
DateTime  end,
TimeSpan  delta 
)

Initializes a new instance of the T:System.Globalization.DaylightTime class with the specified start, end, and time difference information.

Parameters
startThe object that represents the date and time when daylight saving time begins. The value must be in local time.
endThe object that represents the date and time when daylight saving time ends. The value must be in local time.
deltaThe object that represents the difference between standard time and daylight saving time, in ticks.

Definition at line 36 of file DaylightTime.cs.

Member Data Documentation

◆ Delta

TimeSpan System.Globalization.DaylightTime.Delta => m_delta

Gets the time interval that represents the difference between standard time and daylight saving time.

Returns
The time interval that represents the difference between standard time and daylight saving time.

Definition at line 26 of file DaylightTime.cs.

◆ End

DateTime System.Globalization.DaylightTime.End => m_end

Gets the object that represents the date and time when the daylight saving period ends.

Returns
The object that represents the date and time when the daylight saving period ends. The value is in local time.

Definition at line 22 of file DaylightTime.cs.

◆ Start

DateTime System.Globalization.DaylightTime.Start => m_start

Gets the object that represents the date and time when the daylight saving period begins.

Returns
The object that represents the date and time when the daylight saving period begins. The value is in local time.

Definition at line 18 of file DaylightTime.cs.


The documentation for this class was generated from the following file: