virtual P6R::P6ERR P6R::p6IXpathTime::extractYear ( P6INT32 *  pYear  )  [pure virtual]

Extract the year value from the time value stored in the component.

Parameters:
pYear [OUT] The absolute value of the year part of the time value stored in this component (e.g., 2008).
Returns:
SuccessP6R::eOk 
FailureP6R::eTypeErrorOnly P6XPATH_TYPE_DATE, P6XPATH_TYPE_DATETIME have years.
P6R::eInvalidArgpYear is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.