11 #ifndef __DTITVFMT_H__
12 #define __DTITVFMT_H__
22 #if !UCONFIG_NO_FORMATTING
497 virtual const TimeZone& getTimeZone(
void)
const;
505 virtual void adoptTimeZone(
TimeZone* zoneToAdopt);
512 virtual void setTimeZone(
const TimeZone& zone);
525 static UClassID U_EXPORT2 getStaticClassID(
void);
586 UBool laterDateFirst;
766 static void U_EXPORT2 getDateTimeSkeleton(
const UnicodeString& skeleton,
831 int8_t differenceInfo,
864 static void U_EXPORT2 adjustFieldWidth(
868 int8_t differenceInfo,
884 void concatSingleDate2TimeInterval(
const UChar* format,
907 static int32_t U_EXPORT2 splitPatternInto2Part(
const UnicodeString& intervalPattern);
929 UBool laterDateFirst);
945 UBool laterDateFirst);
949 static const UChar fgCalendarFieldToPatternLetter[];
979 PatternInfo fIntervalPatterns[DateIntervalInfo::kIPI_MAX_INDEX];
991 #endif // _DTITVFMT_H__
UCalendarDateFields
Possible fields in a UCalendar.
C++ API: Date/Time Pattern Generator.
DateIntervalInfo is a public class for encapsulating localizable date time interval patterns...
Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...
This class provides flexible generation of date format patterns, like "yy-MM-dd". ...
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
TimeZone represents a time zone offset, and also figures out daylight savings.
This class represents a date interval.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
C++ API: Format and parse dates in a language-independent manner.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
#define NULL
Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
C++ API: Date Interval data type.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
Basic definitions for ICU, for both C and C++ APIs.
C++ API: Date/Time interval patterns for formatting date/time interval.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
int8_t UBool
The ICU boolean type.
A Locale object represents a specific geographical, political, or cultural region.