// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2008-2009, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* * * File DTINTRV.H * ******************************************************************************* */ #ifndef __DTINTRV_H__ #define __DTINTRV_H__ #include "unicode/utypes.h" #if U_SHOW_CPLUSPLUS_API #include "unicode/uobject.h" /** * \file * \brief C++ API: Date Interval data type */ U_NAMESPACE_BEGIN /** * This class represents a date interval. * It is a pair of UDate representing from UDate 1 to UDate 2. * @stable ICU 4.0 **/ class U_COMMON_API DateInterval : public UObject { … } ;// end class DateInterval inline UDate DateInterval::getFromDate() const { … } inline UDate DateInterval::getToDate() const { … } inline bool DateInterval::operator!=(const DateInterval& other) const { … } U_NAMESPACE_END #endif /* U_SHOW_CPLUSPLUS_API */ #endif