#include <AxisTime.h>
Public Methods | |
AxisTime () | |
AxisTime (time_t ptrTime_t) | |
AxisTime (struct tm ntime) | |
virtual | ~AxisTime () |
void | setValue (const AxisChar *strValue) |
void | setValue (XSDTYPE type, uParamValue Value) |
void | setType (XSDTYPE m_Type) |
AxisString | getValue () |
AxisString & | serialize (const AxisChar *sName, struct tm tValue, XSDTYPE nType) |
AxisString & | serialize (const AxisChar *sName, long lDuration, XSDTYPE nType) |
long | getDuration () |
tm | getDateTime () |
tm | getDate () |
tm | getTime () |
void | mkCTime () |
Static Public Methods | |
tm | Deserialize (const AxisChar *strValue, XSDTYPE type) |
long | DeserializeDuration (const AxisChar *strValue, XSDTYPE type) |
|
This function deserialize the xml datetime type into a c type tm struct. The struct tm created will contain the UTC time |
|
Serialize the duration in seconds into a xml duration string of the format PnYnMnDTnHnMnS |
|
Serialize the c type tm struct into a xml date string. The serialized date will represent UTC time |