12 #ifndef __DTPTNGEN_H__
13 #define __DTPTNGEN_H__
30 class DateTimeMatcher;
385 DateTimeMatcher* dtMatcher;
386 DistanceInfo *distanceInfo;
387 PatternMap *patternMap;
392 DateTimeMatcher *skipMatcher;
393 Hashtable *fAvailableFormatKeyHash;
396 UChar fDefaultHourFormatChar;
399 void addCanonicalItems();
411 const UnicodeString* getBestRaw(DateTimeMatcher& source,
int32_t includeMask, DistanceInfo* missingFields,
const PtnSkeleton** specifiedSkeletonPtr = 0);
417 void copyHashtable(Hashtable *other,
UErrorCode &status);
#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: Wrapper for DateTimePatternGenerator (unicode/dtptngen.h).
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UDateTimePatternConflict
Status return values from udatpg_addPattern().
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
UDateTimePatternField
Field number constants for udatpg_getAppendItemFormats() and similar functions.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Base class for 'pure' C++ implementations of uenum api.
C++ API: Abstract class for converting dates.
C++ API: Locale ID object.
A Locale object represents a specific geographical, political, or cultural region.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
signed int int32_t
Define 64 bit limits.
This class provides flexible generation of date format patterns, like "yy-MM-dd". ...
int8_t UBool
The ICU boolean type.