Retrieves the iCalTimeZoneInfo object that contains information about the TimeZone, with the name of the current timezone, offset from UTC, etc.

Namespace: iCal
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public virtual Nullable<TimeZoneObservance> GetTimeZoneObservance(
	IDateTime dt
)
Visual Basic
Public Overridable Function GetTimeZoneObservance ( _
	dt As IDateTime _
) As Nullable(Of TimeZoneObservance)
Visual C++
public:
virtual Nullable<TimeZoneObservance> GetTimeZoneObservance(
	IDateTime^ dt
)

Parameters

dt
Type: iCal..::..IDateTime
The iCalDateTime object for which to retrieve the iCalTimeZoneInfo.

Return Value

A TimeZoneInfo object for the specified iCalDateTime

Implements

ITimeZone..::..GetTimeZoneObservance(IDateTime)

See Also