CalendarObjectApplyPropertyTimeZone Method
This helper method can be used to apply a new time zone to the passed date/time property
Namespace: EWSoftware.PDI.ObjectsAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
protected static void ApplyPropertyTimeZone(
BaseDateTimeProperty dateProp,
VTimeZone vTimeZone
)
Protected Shared Sub ApplyPropertyTimeZone (
dateProp As BaseDateTimeProperty,
vTimeZone As VTimeZone
)
protected:
static void ApplyPropertyTimeZone(
BaseDateTimeProperty^ dateProp,
VTimeZone^ vTimeZone
)
static member ApplyPropertyTimeZone :
dateProp : BaseDateTimeProperty *
vTimeZone : VTimeZone -> unit
Parameters
- dateProp BaseDateTimeProperty
- The date/time property to check
- vTimeZone VTimeZone
- The new time zone component to use
If the property's current time zone ID does not match the one in the new time zone, it is
updated with the new ID and the date/time is adjusted to the new time zone.