12 #ifndef __DTPTNGEN_H__
13 #define __DTPTNGEN_H__
30 class DateTimeMatcher;
34 class SharedDateTimePatternGenerator;
69 #ifndef U_HIDE_INTERNAL_API
119 #ifndef U_HIDE_DRAFT_API
152 #ifndef U_HIDE_DRAFT_API
433 #ifndef U_HIDE_INTERNAL_API
481 static UClassID U_EXPORT2 getStaticClassID(
void);
512 DateTimeMatcher* dtMatcher;
513 DistanceInfo *distanceInfo;
514 PatternMap *patternMap;
519 DateTimeMatcher *skipMatcher;
520 Hashtable *fAvailableFormatKeyHash;
523 UChar fDefaultHourFormatChar;
525 int32_t fAllowedHourFormats[7];
530 kDTPGFixFractionalSeconds = 1,
531 kDTPGSkeletonUsesCapJ = 2,
532 kDTPGSkeletonUsesLowB = 3,
533 kDTPGSkeletonUsesCapB = 4
537 void addCanonicalItems();
549 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
const PtnSkeleton** specifiedSkeletonPtr = 0);
552 int32_t getTopBitNumber(int32_t foundMask);
555 void copyHashtable(Hashtable *other,
UErrorCode &status);
557 static void loadAllowedHourFormatsData(
UErrorCode &status);