Go to the documentation of this file.
12 #ifndef __RELDATEFMT_H
13 #define __RELDATEFMT_H
25 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_BREAK_ITERATION
27 #ifndef U_HIDE_DRAFT_API
258 class RelativeDateTimeCacheData;
259 class SharedNumberFormat;
260 class SharedPluralRules;
261 class SharedBreakIterator;
361 #ifndef U_HIDE_DRAFT_API
469 #ifndef U_HIDE_DRAFT_API
486 const RelativeDateTimeCacheData* fCache;
487 const SharedNumberFormat *fNumberFormat;
488 const SharedPluralRules *fPluralRules;
491 const SharedBreakIterator *fOptBreakIterator;
@ UDAT_ABSOLUTE_WEDNESDAY
Wednesday.
@ UDAT_DIRECTION_LAST
Last.
@ UDAT_RELATIVE_SECONDS
Seconds.
The BreakIterator class implements methods for finding the location of boundaries in text.
@ UDAT_RELATIVE_MONTHS
Months.
@ UDAT_ABSOLUTE_TUESDAY
Tuesday.
Basic definitions for ICU, for both C and C++ APIs.
@ UDAT_RELATIVE_MINUTES
Minutes.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
@ UDAT_ABSOLUTE_YEAR
Year.
@ UDAT_RELATIVE_YEARS
Years.
@ UDAT_RELATIVE_HOURS
Hours.
@ UDAT_DIRECTION_COUNT
Count of items in this enum.
@ UDAT_ABSOLUTE_MONDAY
Monday.
@ UDAT_ABSOLUTE_WEEK
Week.
@ UDAT_RELATIVE_DAYS
Days.
@ UDAT_ABSOLUTE_FRIDAY
Friday.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UDateDirection
Represents a direction for an absolute unit e.g "Next Tuesday" or "Last Tuesday".
UObject is the common ICU "boilerplate" class.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
@ UDAT_DIRECTION_THIS
This.
@ UDAT_STYLE_SHORT
Abbreviations used when possible.
@ UDAT_ABSOLUTE_SUNDAY
Sunday.
@ UDAT_DIRECTION_PLAIN
Plain, which means the absence of a qualifier.
@ UDAT_ABSOLUTE_SATURDAY
Saturday.
@ UDAT_RELATIVE_UNIT_COUNT
Count of items in this enum.
@ UDAT_STYLE_LONG
Everything spelled out.
@ UDAT_RELATIVE_WEEKS
Weeks.
@ UDAT_STYLE_COUNT
The number of styles.
UDisplayContext
Display context settings.
@ UDAT_ABSOLUTE_MONTH
Month.
@ UDAT_DIRECTION_LAST_2
Two before.
@ UDAT_STYLE_NARROW
Use the shortest possible form.
UDateAbsoluteUnit
Represents an absolute unit.
@ UDAT_DIRECTION_NEXT
Next.
@ UDAT_ABSOLUTE_UNIT_COUNT
Count of items in this enum.
C API: Display context types (enum values)
C++ API: Locale ID object.
UDateRelativeUnit
Represents the unit for formatting a relative date.
C++ API: Common ICU base class UObject.
UDateRelativeDateTimeFormatterStyle
The formatting style.
#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.
A Locale object represents a specific geographical, political, or cultural region.
@ UDAT_DIRECTION_NEXT_2
Two after.
@ UDAT_ABSOLUTE_THURSDAY
Thursday.