#include <dtintrv.h>
Inheritance diagram for DateInterval:

Public Member Functions | |
| DateInterval (UDate fromDate, UDate toDate) | |
| Construct a DateInterval given a from date and a to date. | |
| virtual | ~DateInterval () |
| destructor | |
| UDate | getFromDate () const |
| Get the from date. | |
| UDate | getToDate () const |
| Get the to date. | |
| virtual UClassID | getDynamicClassID (void) const |
| Returns a unique class ID POLYMORPHICALLY. | |
| DateInterval (const DateInterval &other) | |
| Copy constructor. | |
| DateInterval & | operator= (const DateInterval &) |
| Default assignment operator. | |
| virtual UBool | operator== (const DateInterval &other) const |
| Equality operator. | |
| UBool | operator!= (const DateInterval &other) const |
| Non-equality operator. | |
| virtual DateInterval * | clone () const |
| clone this object. | |
Static Public Member Functions | |
| UClassID | getStaticClassID (void) |
| Return the class ID for this class. | |
It is a pair of UDate representing from UDate 1 to UDate 2.
Definition at line 32 of file dtintrv.h.
|
||||||||||||
|
Construct a DateInterval given a from date and a to date.
|
|
|
destructor
|
|
|
Copy constructor.
|
|
|
clone this object. The caller owns the result and should delete it when done.
|
|
|
Returns a unique class ID POLYMORPHICALLY. Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic operator==() and clone() methods call this method.
Implements UObject. |
|
|
Get the from date.
|
|
|
Return the class ID for this class. This is useful only for comparing to a return value from getDynamicClassID(). For example: . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer->getDynamicClassID() == . erived::getStaticClassID()) ...
|
|
|
Get the to date.
|
|
|
Non-equality operator.
Definition at line 152 of file dtintrv.h. References operator==(). |
|
|
Default assignment operator.
|
|
|
Equality operator.
Referenced by operator!=(). |
1.3.9.1