|
| RWCollectableDateTime () |
|
| RWCollectableDateTime (const RWCString &str, SetType set_type=setBoth, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
| RWCollectableDateTime (const RWDate &d, unsigned h=0, unsigned m=0, unsigned s=0, unsigned ms=0, const RWZone &zone=RWZone::local()) |
|
| RWCollectableDateTime (const RWDateTime &dt) |
|
| RWCollectableDateTime (const RWTime &t, unsigned ms=0) |
|
| RWCollectableDateTime (const struct tm *t, unsigned ms=0, const RWZone &zone=RWZone::local()) |
|
| RWCollectableDateTime (InitialState init_state) |
|
| RWCollectableDateTime (rwint64 msec) |
|
| RWCollectableDateTime (std::istream &s, SetType set_type, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
| RWCollectableDateTime (unsigned d, const char *mo, unsigned y, unsigned h, unsigned m, unsigned s, unsigned ms, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
| RWCollectableDateTime (unsigned d, unsigned mo, unsigned y, unsigned h=0, unsigned m=0, unsigned s=0, unsigned ms=0, const RWZone &zone=RWZone::local()) |
|
| ~RWCollectableDateTime () |
|
virtual RWspace | binaryStoreSize () const |
|
virtual int | compareTo (const RWCollectable *c) const |
|
virtual RWCollectable * | copy () const |
|
virtual unsigned | hash () const |
|
virtual RWClassID | isA () const |
|
virtual bool | isEqual (const RWCollectable *c) const |
|
virtual RWCollectable * | newSpecies () const |
|
virtual void | restoreGuts (RWFile &file) |
|
virtual void | restoreGuts (RWvistream &stream) |
|
virtual void | saveGuts (RWFile &file) const |
|
virtual void | saveGuts (RWvostream &stream) const |
|
virtual | ~RWCollectable () |
|
RWspace | recursiveStoreSize () const |
|
RWStringID | stringID () const |
|
| RWDateTime (const RWCString &str, Format f, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
| RWDateTime (const RWCString &str, SetType set_type=setBoth, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
| RWDateTime (const RWDate &d, unsigned hours=0, unsigned minutes=0, unsigned seconds=0, unsigned msec=0, const RWZone &zone=RWZone::local()) |
|
| RWDateTime (const RWDateTime &dt) |
|
| RWDateTime (const RWTime &t, unsigned msec=0) |
|
| RWDateTime (const RWTimeTuple &tt, const RWZone &zone=RWZone::local()) |
|
| RWDateTime (const RWTimeTupleOffset &tt) |
|
| RWDateTime (const struct tm *tmbuf, unsigned msec=0, const RWZone &loc=RWZone::local()) |
|
| RWDateTime (InitialState init_state=invalid) |
|
| RWDateTime (rwint64 msec) |
|
| RWDateTime (std::istream &s, SetType set_type, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
| RWDateTime (unsigned day, unsigned month, unsigned year, unsigned hours=0, unsigned minutes=0, unsigned seconds=0, unsigned milliseconds=0, const RWZone &zone=RWZone::local()) |
|
| RWDateTime (unsigned month_day, const char *month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, unsigned msec, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) |
|
RWCString | asString (char format, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
RWCString | asString (const char *format, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
RWCString | asString (Format format, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
bool | between (const RWDateTime &a, const RWDateTime &b) const |
|
RWspace | binaryStoreSize () const |
|
int | compareTo (const RWDateTime &d) const |
|
int | compareTo (const RWDateTime *d) const |
|
unsigned | correctedJulian () const |
|
unsigned | day (const RWZone &zone=RWZone::local()) const |
|
unsigned | dayGMT () const |
|
unsigned | dayOfMonth (const RWZone &zone=RWZone::local()) const |
|
unsigned | dayOfMonthGMT () const |
|
RWDateTime & | decrementDay (const rwint64 d) |
|
RWDateTime & | decrementHour (const rwint64 h) |
|
RWDateTime & | decrementMillisecond (const rwint64 msec) |
|
RWDateTime & | decrementMinute (const rwint64 m) |
|
RWDateTime & | decrementSecond (const rwint64 s) |
|
void | extract (struct tm *tmbuf, const RWZone &zone=RWZone::local()) const |
|
void | extractGMT (struct tm *tmbuf) const |
|
unsigned | firstDayOfMonth (const RWZone &zone=RWZone::local()) const |
|
unsigned | firstDayOfMonth (unsigned mon, const RWZone &zone=RWZone::local()) const |
|
unsigned | hash () const |
|
unsigned | hour (const RWZone &zone=RWZone::local()) const |
|
unsigned | hourGMT () const |
|
RWDateTime & | incrementDay (const rwint64 d) |
|
RWDateTime & | incrementHour (const rwint64 h) |
|
RWDateTime & | incrementMillisecond (const rwint64 msec) |
|
RWDateTime & | incrementMinute (const rwint64 m) |
|
RWDateTime & | incrementSecond (const rwint64 s) |
|
bool | isDST (const RWZone &zone=RWZone::local()) const |
|
bool | isFuture () const |
|
bool | isInvalid () const |
|
bool | isNull () const |
|
bool | isPast () const |
|
bool | isSentinel () const |
|
bool | isValid () const |
|
unsigned | julian () const |
|
void | julian (unsigned j) |
|
double | julianDay () const |
|
void | julianDay (double j) |
|
bool | leap (const RWZone &zone=RWZone::local()) const |
|
bool | leapGMT () const |
|
RWDateTime | max (const RWDateTime &t) const |
|
unsigned | milliSecond () const |
|
rwint64 | milliSeconds () const |
|
RWDateTime | min (const RWDateTime &t) const |
|
unsigned | minute (const RWZone &zone=RWZone::local()) const |
|
unsigned | minuteGMT () const |
|
unsigned | month (const RWZone &zone=RWZone::local()) const |
|
unsigned | monthGMT () const |
|
RWCString | monthName (const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
RWDateTime | next (const char *dayName, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
RWDateTime | next (unsigned dayNum, const RWZone &zone=RWZone::local()) const |
|
RWDateTime & | operator= (const RWDateTime &) |
|
RWDateTime | previous (const char *dayName, const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
RWDateTime | previous (unsigned dayNum, const RWZone &zone=RWZone::local()) const |
|
std::istream & | readDate (std::istream &is) |
|
std::istream & | readTime (std::istream &is) |
|
void | restoreFrom (RWFile &) |
|
void | restoreFrom (RWvistream &) |
|
void | saveOn (RWFile &) const |
|
void | saveOn (RWvostream &) const |
|
unsigned | second (const RWZone &zone=RWZone::local()) const |
|
unsigned | secondGMT () const |
|
RWDate | toRWDate (const RWZone &zone=RWZone::local()) const |
|
RWTime | toRWTime () const |
|
unsigned | weekDay (const RWZone &zone=RWZone::local()) const |
|
unsigned | weekDayGMT () const |
|
RWCString | weekDayName (const RWLocale &loc=RWLocale::global(), const RWZone &zone=RWZone::local()) const |
|
std::ostream & | writeDate (std::ostream &os) const |
|
std::ostream & | writeTime (std::ostream &os) const |
|
unsigned | year (const RWZone &zone=RWZone::local()) const |
|
unsigned | yearGMT () const |
|
Collectable RWDateTime instances. Inherits from classes RWDateTime and RWCollectable. This class is useful when date/time objects are used as keys in the "dictionary" collection classes, or if date/time objects are stored and retrieved as RWCollectable instances.
Redefines the virtual functions of the base class RWCollectable.
- Synopsis
#include <rw/tools/ctdatetime.h>
Provides a polymorphically persistable RWDateTime.
Definition ctdatetime.h:56
- Persistence
- Polymorphic