Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.