19#if U_SHOW_CPLUSPLUS_API
58 inline UDate getFromDate()
const;
65 inline UDate getToDate()
const;
143DateInterval::getFromDate()
const {
149DateInterval::getToDate()
const {
156 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.
virtual UClassID getDynamicClassID(void) const override
Returns a unique class ID POLYMORPHICALLY.
DateInterval & operator=(const DateInterval &)
Default assignment operator.
static UClassID getStaticClassID(void)
Return the class ID for this class.
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.