19#if U_SHOW_CPLUSPLUS_API
58 inline UDate getFromDate()
const;
65 inline UDate getToDate()
const;
142DateInterval::getFromDate()
const {
148DateInterval::getToDate()
const {
155 return ( !
operator==(other) );
This class represents a date interval.
virtual ~DateInterval()
destructor
virtual bool operator==(const DateInterval &other) const
Equality operator.
virtual DateInterval * clone() const
clone this object.
DateInterval(const DateInterval &other)
Copy constructor.
static UClassID getStaticClassID()
Return the class ID for this class.
virtual UClassID getDynamicClassID() const override
Returns a unique class ID POLYMORPHICALLY.
DateInterval & operator=(const DateInterval &)
Default assignment operator.
DateInterval(UDate fromDate, UDate toDate)
Construct a DateInterval given a from date and a to date.
UObject is the common ICU "boilerplate" class.
bool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: Common ICU base class UObject.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.
double UDate
Date and Time data type.