#include <xmltooling/util/DateTime.h>
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) |
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.
1.3.9.1