Main Page   Class Hierarchy   Compound List   File List   Compound Members  

AxisTime Class Reference

time manipulating helper class. More...

#include <AxisTime.h>

List of all members.

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)


Detailed Description

time manipulating helper class.

Author:
Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)


Member Function Documentation

void AxisTime::mkCTime  
 

This function deserialize the xml datetime type into a c type tm struct. The struct tm created will contain the UTC time

AxisString & AxisTime::serialize const AxisChar *    sName,
long    lDuration,
XSDTYPE    nType
 

Serialize the duration in seconds into a xml duration string of the format PnYnMnDTnHnMnS

AxisString & AxisTime::serialize const AxisChar *    sName,
struct tm    tValue,
XSDTYPE    nType
 

Serialize the c type tm struct into a xml date string. The serialized date will represent UTC time


The documentation for this class was generated from the following files:
Generated on Wed Dec 24 18:04:59 2003 for axisc++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002