Calendar ObjectSet Property Time Zone Method
This helper method can be used to set a new time zone in the passed date/time property without
modifying the date/time value.
Definition
Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
protected static void SetPropertyTimeZone(
BaseDateTimeProperty dateProp,
VTimeZone? vTimeZone
)VB
Protected Shared Sub SetPropertyTimeZone (
dateProp As BaseDateTimeProperty,
vTimeZone As VTimeZone
)C++
protected:
static void SetPropertyTimeZone(
BaseDateTimeProperty^ dateProp,
VTimeZone^ vTimeZone
)F#
static member SetPropertyTimeZone :
dateProp : BaseDateTimeProperty *
vTimeZone : VTimeZone -> unit Parameters
- dateProp BaseDateTimeProperty
- The date/time property to check
- vTimeZone VTimeZone
- The new time zone component to use
Remarks
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. The date/time value is not changed.