[ Team LiB ] Previous Section Next Section

DaylightTimeCF 1.0, serializable

System.Globalization (mscorlib.dll)class

This setting defines when daylight saving time begins and ends. It uses three properties: Start is the time when daylight saving time begins; End is when standard time resumes; and Delta is the length of time (measured in ticks) that the clock is adjusted from standard time during this period. Delta is a System.TimeSpan value measured in "ticks," or 100-nanosecond periods.

public class DaylightTime {
// Public Constructors
   public DaylightTime(DateTime start, DateTime end, TimeSpan delta);
// Public Instance Properties
   public TimeSpan Delta{get; }
   public DateTime End{get; }
   public DateTime Start{get; }
}

Returned By

System.TimeZone.GetDaylightChanges( )

Passed To

System.TimeZone.IsDaylightSavingTime( )

    [ Team LiB ] Previous Section Next Section