Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

xmltooling::DateTime Class Reference

Class for manipulating XML date/time information. More...

#include <xmltooling/util/DateTime.h>

List of all members.

Public Member Functions

 DateTime ()
 OFF
 DateTime (const XMLCh *const)
 DateTime (time_t epoch, bool duration=false)
 DateTime (const DateTime &)
DateTime & operator= (const DateTime &)
void setBuffer (const XMLCh *const)
const XMLCh * getRawData () const
const XMLCh * getFormattedString () const
int getSign () const
XMLCh * getDateTimeCanonicalRepresentation () const
XMLCh * getTimeCanonicalRepresentation () const
void parseDateTime ()
void parseDate ()
void parseTime ()
void parseDay ()
void parseMonth ()
void parseYear ()
void parseMonthDay ()
void parseYearMonth ()
void parseDuration ()
int getYear () const
int getMonth () const
int getDay () const
int getHour () const
int getMinute () const
int getSecond () const
time_t getEpoch (bool duration=false) const

Static Public Member Functions

int compare (const DateTime *const, const DateTime *const)
int compare (const DateTime *const, const DateTime *const, bool)
int compareOrder (const DateTime *const, const DateTime *const)


Detailed Description

Class for manipulating XML date/time information.

This is mostly copied from Xerces-C, but they haven't produced a usable date/time class, so we had to incorporate a version of it for now. It can't be inherited since the fields needed are private.


The documentation for this class was generated from the following file:
Generated on Wed Jun 17 16:50:44 2009 for xmltooling by  doxygen 1.3.9.1