This class represents a date interval. More...
#include <dtintrv.h>
This class represents a date interval.
It is a pair of UDate representing from UDate 1 to UDate 2.
Definition at line 36 of file dtintrv.h.
◆ DateInterval() [1/2] icu::DateInterval::DateInterval ( UDate fromDate, UDate toDate )Construct a DateInterval given a from date and a to date.
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.
Reimplemented from icu::UObject.
◆ getFromDate() UDate icu::DateInterval::getFromDate ( ) const inlineGet the from date.
Definition at line 142 of file dtintrv.h.
◆ getStaticClassID() static UClassID icu::DateInterval::getStaticClassID ( ) staticReturn 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() == . derived::getStaticClassID()) ...
Get the to date.
Definition at line 148 of file dtintrv.h.
◆ operator!=() bool icu::DateInterval::operator!= ( const DateInterval & other ) const inlineNon-equality operator.
Definition at line 154 of file dtintrv.h.
◆ operator=()Default assignment operator.
Equality operator.
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4