Upon creation the p6IXPathTime component has no values.
This method assigns both the time values and time type. Note that all times must be provided in GMT with their time zone delta.
- Parameters
-
type | [ in ] one of the following type: { P6XPATH_TYPE_DATE, P6XPATH_TYPE_DATETIME, P6XPATH_TYPE_TIME } |
timeStamp | [ in ] the time in GMT |
timeZone | [ in ] the delta in seconds from GMT representing the timezone of the time value. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | The 'type' parameter has the wrong type specified. |