12 #ifndef __DTPTNGEN_H__
13 #define __DTPTNGEN_H__
30 class DateTimeMatcher;
436 DateTimeMatcher* dtMatcher;
437 DistanceInfo *distanceInfo;
438 PatternMap *patternMap;
443 DateTimeMatcher *skipMatcher;
444 Hashtable *fAvailableFormatKeyHash;
447 UChar fDefaultHourFormatChar;
450 void addCanonicalItems();
462 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
const PtnSkeleton** specifiedSkeletonPtr = 0);
465 int32_t getTopBitNumber(int32_t foundMask);
468 void copyHashtable(Hashtable *other,
UErrorCode &status);
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
#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().
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
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.
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.
This class provides flexible generation of date format patterns, like "yy-MM-dd". ...
UDateTimePatternMatchOptions
Masks to control forcing the length of specified fields in the returned pattern to match those in the...
int8_t UBool
The ICU boolean type.