Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXpathTime::setTime ( P6XPATH_TYPE  type,
P6TIME  timeStamp,
P6INT32  timeZone 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgThe 'type' parameter has the wrong type specified.