Go to the documentation of this file.
14 #ifndef __RELDATEFMT_H
15 #define __RELDATEFMT_H
28 #if !UCONFIG_NO_FORMATTING
79 #ifndef U_HIDE_DEPRECATED_API
85 #endif // U_HIDE_DEPRECATED_API
168 #ifndef U_HIDE_DRAFT_API
174 #endif // U_HIDE_DRAFT_API
176 #ifndef U_HIDE_DEPRECATED_API
182 #endif // U_HIDE_DEPRECATED_API
228 #ifndef U_HIDE_DEPRECATED_API
234 #endif // U_HIDE_DEPRECATED_API
237 #if !UCONFIG_NO_BREAK_ITERATION
242 class RelativeDateTimeCacheData;
243 class SharedNumberFormat;
244 class SharedPluralRules;
245 class SharedBreakIterator;
512 const RelativeDateTimeCacheData* fCache;
513 const SharedNumberFormat *fNumberFormat;
514 const SharedPluralRules *fPluralRules;
517 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.
URelativeDateTimeUnit
Represents the unit for formatting a relative date.
@ UDAT_ABSOLUTE_YEAR
Year.
@ UDAT_RELATIVE_YEARS
Years.
@ UDAT_RELATIVE_HOURS
Hours.
@ UDAT_DIRECTION_COUNT
One more than the highest normal UDateDirection value.
@ UDAT_ABSOLUTE_QUARTER
Quarter.
@ 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...
C API: URelativeDateTimeFormatter, relative date formatting of unit + numeric offset.
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_ABSOLUTE_SUNDAY
Sunday.
@ UDAT_DIRECTION_PLAIN
Plain, which means the absence of a qualifier.
@ UDAT_ABSOLUTE_SATURDAY
Saturday.
@ UDAT_RELATIVE_UNIT_COUNT
One more than the highest normal UDateRelativeUnit value.
@ UDAT_RELATIVE_WEEKS
Weeks.
UDisplayContext
Display context settings.
@ UDAT_ABSOLUTE_MONTH
Month.
@ UDAT_DIRECTION_LAST_2
Two before.
UDateAbsoluteUnit
Represents an absolute unit.
@ UDAT_DIRECTION_NEXT
Next.
@ UDAT_ABSOLUTE_UNIT_COUNT
One more than the highest normal UDateAbsoluteUnit value.
C API: Display context types (enum values)
C++ API: Locale ID object.
UDateRelativeDateTimeFormatterStyle
The formatting style.
UDateRelativeUnit
Represents the unit for formatting a relative date.
C++ API: Common ICU base class UObject.
#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.