Go to the documentation of this file.
13 #ifndef __DTITVFMT_H__
14 #define __DTITVFMT_H__
24 #if !UCONFIG_NO_FORMATTING
614 UBool laterDateFirst;
714 UBool fromToOnSameDay,
796 static void U_EXPORT2 getDateTimeSkeleton(
const UnicodeString& skeleton,
859 int8_t differenceInfo,
891 static void U_EXPORT2 adjustFieldWidth(
895 int8_t differenceInfo,
929 static int32_t U_EXPORT2 splitPatternInto2Part(
const UnicodeString& intervalPattern);
949 UBool laterDateFirst);
964 UBool laterDateFirst);
999 static const char16_t fgCalendarFieldToPatternLetter[];
1026 PatternInfo fIntervalPatterns[DateIntervalInfo::kIPI_MAX_INDEX];
1045 #endif // _DTITVFMT_H__
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
Basic definitions for ICU, for both C and C++ APIs.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...
int8_t UBool
The ICU boolean type.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
DateIntervalInfo is a public class for encapsulating localizable date time interval patterns.
TimeZone represents a time zone offset, and also figures out daylight savings.
This class represents a date interval.
#define NULL
Define NULL if necessary, to nullptr for C++ and to ((void *)0) for C.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Date/Time Pattern Generator.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
UCalendarDateFields
Possible fields in a UCalendar.
C++ API: Date Interval data type.
C++ API: Format and parse dates in a language-independent manner.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
C++ API: Date/Time interval patterns for formatting date/time interval.
A Locale object represents a specific geographical, political, or cultural region.