14 #ifndef __DTPTNGEN_H__
15 #define __DTPTNGEN_H__
19 #if U_SHOW_CPLUSPLUS_API
38 class DateTimeMatcher;
42 class SharedDateTimePatternGenerator;
77 #ifndef U_HIDE_INTERNAL_API
450 #ifndef U_HIDE_INTERNAL_API
498 static UClassID U_EXPORT2 getStaticClassID(
void);
528 DateTimeMatcher* dtMatcher;
529 DistanceInfo *distanceInfo;
530 PatternMap *patternMap;
536 DateTimeMatcher *skipMatcher;
537 Hashtable *fAvailableFormatKeyHash;
539 char16_t fDefaultHourFormatChar;
541 int32_t fAllowedHourFormats[7];
551 kDTPGFixFractionalSeconds = 1,
552 kDTPGSkeletonUsesCapJ = 2
560 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
574 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
UErrorCode& status,
const PtnSkeleton** specifiedSkeletonPtr = 0);
577 int32_t getTopBitNumber(int32_t foundMask)
const;
580 void copyHashtable(Hashtable *other,
UErrorCode &status);
585 struct AppendItemFormatsSink;
586 struct AppendItemNamesSink;
587 struct AvailableFormatsSink;