Go to the documentation of this file.
56 UDate getFromDate()
const;
63 UDate getToDate()
const;
141 DateInterval::getFromDate()
const {
147 DateInterval::getToDate()
const {
154 return ( !
operator==(other) );
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.
DateInterval(const DateInterval &other)
Copy constructor.
This class represents a date interval.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
DateInterval(UDate fromDate, UDate toDate)
Construct a DateInterval given a from date and a to date.
DateInterval & operator=(const DateInterval &)
Default assignment operator.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
virtual ~DateInterval()
destructor
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
double UDate
Date and Time data type.
virtual DateInterval * clone() const
clone this object.
virtual UBool operator==(const DateInterval &other) const
Equality operator.
C++ API: Common ICU base class UObject.
static UClassID getStaticClassID(void)
Return the class ID for this class.
#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.