|
|
Home | Loader API | Interfaces | File List | Index | |
This interface is an implementation of the following XPath 2.0 time types: xs:date, xs:dateTime, xs:time. More...
#include <p6xpathtime.h>
Inherits P6R::p6ICom.
Public Member Functions | |
virtual P6R::P6INT32 | addref ()=0 |
This method increases the reference count of the component instance by one. | |
virtual P6R::P6ERR | expand (P6TIMEINFO *pExpandedTime)=0 |
Convert and return the time value stored in the component to a P6TIMEINFO format. | |
virtual P6R::P6ERR | extractDay (P6INT32 *pDayOfMonth)=0 |
Extract the day of the month from the time value stored in the component. | |
virtual P6R::P6ERR | extractDayOfWeek (P6INT32 *pDayOfWeek)=0 |
Extract the day of the week from the time value stored in the component. | |
virtual P6R::P6ERR | extractDayOfYear (P6INT32 *pDayOfYear)=0 |
Extract the day of the year from the time value stored in the component. | |
virtual P6R::P6ERR | extractHours (P6INT32 *pHour)=0 |
Extract the 24 hours from the time value stored in the component. | |
virtual P6R::P6ERR | extractMinutes (P6INT32 *pMinutes)=0 |
Extract the minutes from the time value stored in the component. | |
virtual P6R::P6ERR | extractMonth (P6INT32 *pMonth)=0 |
Extract the month of the year from the time value stored in the component. | |
virtual P6R::P6ERR | extractSeconds (P6INT32 *pSeconds)=0 |
Extract the seconds from the time value stored in the component. | |
virtual P6R::P6ERR | extractTimezone (P6INT32 *pDelta)=0 |
Extract the seconds delta from GMT from the time value stored in the component. | |
virtual P6R::P6ERR | extractYear (P6INT32 *pYear)=0 |
Extract the year value from the time value stored in the component. | |
virtual P6R::P6ERR | getTime (P6XPATH_TYPE *pType, P6TIME *pTimeStamp, P6INT32 *pTimeZone)=0 |
Extract the time value as a 3-tuple [type,P6TIME,timezone delta]. | |
virtual P6R::P6ERR | lessThan (p6IXpathTime *pTime, P6BOOL *pbResult)=0 |
Is this component less than the pTime parameter value? | |
virtual P6R::P6ERR | queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0 |
This method queries the component for a specific interface. | |
virtual P6R::P6INT32 | release ()=0 |
This method decrements a components reference count. | |
virtual P6R::P6ERR | setTime (P6XPATH_TYPE type, P6TIME timeStamp, P6INT32 timeZone)=0 |
Upon creation the p6IXPathTime component has no values. | |
virtual P6R::P6ERR | toDate (p6IXpathTime **pConvert)=0 |
Return a copy of the current time component and convert it to a P6XPATH_TYPE_DATE (i.e., xs:date) type. | |
virtual P6R::P6ERR | toDateTime (p6IXpathTime **pConvert)=0 |
Return a copy of the current time component and convert it to a P6XPATH_TYPE_DATETIME (i.e., xs:dateTime) type. | |
virtual P6R::P6ERR | toStringA (P6CHAR *pBuffer, P6UINT32 cBuffer, P6UINT32 *pWritten)=0 |
Convert the time value stored in this component into a valid ISO8601 (narrow) string. | |
virtual P6R::P6ERR | toStringW (P6WCHAR *pBuffer, P6UINT32 cBuffer, P6UINT32 *pWritten)=0 |
Convert the time value stored in this component into a valid ISO8601 (wide) string. | |
virtual P6R::P6ERR | toTime (p6IXpathTime **pConvert)=0 |
Return a copy of the current time component and convert it to a P6XPATH_TYPE_TIME (i.e., xs:time) type. |
This interface is an implementation of the following XPath 2.0 time types: xs:date, xs:dateTime, xs:time.
This type can be returned as a result of evaluating an XPath expression.
Definition at line 27 of file p6xpathtime.h.