class DaylightTime

in global :: System . Globalization

Defines the period of daylight saving time.


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

Initializes a new instance of the class with the specified start, end, and time difference information.

  • start The object that represents the date and time when daylight saving time begins. The value must be in local time.
  • end The object that represents the date and time when daylight saving time ends. The value must be in local time.
  • delta The object that represents the difference between standard time and daylight saving time, in ticks.

public TimeSpan Delta { get; }

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.

public DateTime End { get; }

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.

public DateTime Start { get; }

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.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.