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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.