Name

DaylightTime

Synopsis

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 Sub New(ByVal start As Date, ByVal end As Date, 
        ByVal delta As TimeSpan) 
' Public Instance Properties
   Public ReadOnly Property Delta As TimeSpan  
   Public ReadOnly Property End As Date  
   Public ReadOnly Property Start As Date  
End Class

Returned By

System.TimeZone.GetDaylightChanges()

Passed To

System.TimeZone.IsDaylightSavingTime()

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.