DateTimeInstance Class

This class is returned by the time zone conversion functions in the VCalendar class. It is also used by the RecurringObject-derived classes to return a collection of recurring instances.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public class DateTimeInstance
Inheritance
Object    DateTimeInstance

Constructors

Properties

AbbreviatedEndTimeZoneName This read-only property is used to get the end time zone name in its abbreviated form
AbbreviatedStartTimeZoneName This read-only property is used to get the start time zone name in its abbreviated form
Duration This is used to get or set the instance's duration
EndDateTime This is used to get or set the end date/time value
EndIsDaylightSavingTime This is used to get or set whether or not the end date/time is in daylight saving time
EndTimeZoneName This is used to get or set the time zone name description for the end date/time value (Eastern Daylight Time, Pacific Standard Time, etc).
StartDateTime This is used to get or set the start date/time value
StartIsDaylightSavingTime This is used to get or set whether or not the start date/time is in daylight saving time
StartTimeZoneName This is used to get or set the time zone name description for the start date/time value (Eastern Daylight Time, Pacific Standard Time, etc).
TimeZoneId This is used to get or set the time zone ID

Methods

Equals This is overridden to allow proper comparison of DateTimeInstance objects
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Get a hash code for the DateTimeInstance object
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToLocalTime This converts the date/time info to local time
ToString This converts the date/time info to string form
(Overrides ObjectToString)
ToTimeZone This converts the date/time info to the specified time zone

See Also