// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2007-2016, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ #ifndef RELDTFMT_H #define RELDTFMT_H #include "unicode/utypes.h" /** * \file * \brief C++ API: Format and parse relative dates and times. */ #if !UCONFIG_NO_FORMATTING #include "unicode/datefmt.h" #include "unicode/smpdtfmt.h" #include "unicode/brkiter.h" U_NAMESPACE_BEGIN // forward declarations class DateFormatSymbols; class SimpleFormatter; // internal structure used for caching strings struct URelativeString; /** * This class is normally accessed using the kRelative or k...Relative values of EStyle as * parameters to DateFormat::createDateInstance. * * Example: * DateFormat *fullrelative = DateFormat::createDateInstance(DateFormat::kFullRelative, loc); * * @internal ICU 3.8 */ class RelativeDateFormat : public DateFormat { … }; U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ #endif // RELDTFMT_H