56 UDate getFromDate()
const;
63 UDate getToDate()
const;
141DateInterval::getFromDate()
const {
147DateInterval::getToDate()
const {
154 return ( !
operator==(other) );
This class represents a date interval.
virtual UBool operator==(const DateInterval &other) const
Equality operator.
virtual ~DateInterval()
destructor
virtual DateInterval * clone() const
clone this object.
DateInterval(const DateInterval &other)
Copy constructor.
virtual UClassID getDynamicClassID(void) const
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.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
int8_t UBool
The ICU boolean type.
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.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.