54 UDate getFromDate()
const;
61 UDate getToDate()
const;
152 return ( !
operator==(other) );
This class represents a date interval.
virtual DateInterval * clone() const
clone this object.
DateInterval(const DateInterval &other)
Copy constructor.
static UClassID getStaticClassID(void)
Return the class ID for this class.
virtual UBool operator==(const DateInterval &other) const
Equality operator.
UBool operator!=(const DateInterval &other) const
Non-equality operator.
UDate getToDate() const
Get the to date.
DateInterval(UDate fromDate, UDate toDate)
Construct a DateInterval given a from date and a to date.
UDate getFromDate() const
Get the from date.
DateInterval & operator=(const DateInterval &)
Default assignment operator.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
virtual ~DateInterval()
destructor
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.