CalendarObjectAddTimeZoneIfUsed Method

This helper method can be used to add a time zone ID to the string collection when one is used on the passed property.

Definition

Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
protected static void AddTimeZoneIfUsed(
	BaseDateTimeProperty dateProp,
	StringCollection timeZoneIds
)

Parameters

dateProp  BaseDateTimeProperty
The date/time property to check.
timeZoneIds  StringCollection
The string collection to which the time zone ID is added if there is one on the date/time property and it is not already in the collection.

Remarks

If the date/time property has no time zone ID or if it is set to MinValue, the collection is not modified.

See Also