CalendarObject Class

This is the common abstract base class for all calendar related PDI objects

Definition

Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public abstract class CalendarObject : PDIObject
Inheritance
Object    PDIObject    CalendarObject
Derived
More

Constructors

CalendarObjectInitializes a new instance of the CalendarObject class

Properties

Version This is overridden to propagate the version to all properties in the object that need it when the version is set on the item.
(Overrides PDIObjectVersion)
VersionsSupported All objects derived from this class must implement this to indicate the specification versions with which they can be used.
(Inherited from PDIObject)

Methods

AddTimeZoneIfUsed This helper method can be used to add a time zone ID to the string collection when one is used on the passed property.
ApplyPropertyTimeZone This helper method can be used to apply a new time zone to the passed date/time property
ApplyTimeZone This is used to apply the selected time zone to all date/time objects in the component and convert them to the new time zone.
ClearProperties The method can be called to clear all current property values in the object. The version is left unchanged.
Clone This must be overridden to allow cloning of a PDI object
(Inherited from PDIObject)
Clone(PDIObject) This must be overridden to allow copying values from the specified PDI object into the instance
(Inherited from PDIObject)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PropagateVersion This is used to propagate the version to all properties in the object that need it
SetPropertyTimeZone This helper method can be used to set a new time zone in the passed date/time property without modifying the date/time value.
SetTimeZone This is used to set the selected time zone in all date/time objects in the component without modifying the date/time values.
TimeZonesUsed This is used to get a list of time zones used by all owned objects
ToString Convert the object instance to its string form
(Overrides ObjectToString)
UpdatePropertyTimeZoneId This helper method can be used to update a time zone ID in the passed date/time property
UpdateTimeZoneId This is used to replace an old time zone ID with a new time zone ID in all properties of a calendar object.
WriteToStream(TextWriter) This can be used to write a calendar object to a PDI data stream
WriteToStream(TextWriter, StringBuilder) This can be used to write a calendar object to a PDI data stream

See Also