14 #ifndef __DTPTNGEN_H__
15 #define __DTPTNGEN_H__
34 class DateTimeMatcher;
38 class SharedDateTimePatternGenerator;
73 #ifndef U_HIDE_INTERNAL_API
276 #ifndef U_HIDE_DRAFT_API
287 #endif // U_HIDE_DRAFT_API
448 #ifndef U_HIDE_INTERNAL_API
496 static UClassID U_EXPORT2 getStaticClassID(
void);
526 DateTimeMatcher* dtMatcher;
527 DistanceInfo *distanceInfo;
528 PatternMap *patternMap;
534 DateTimeMatcher *skipMatcher;
535 Hashtable *fAvailableFormatKeyHash;
537 char16_t fDefaultHourFormatChar;
539 int32_t fAllowedHourFormats[7];
549 kDTPGFixFractionalSeconds = 1,
550 kDTPGSkeletonUsesCapJ = 2
558 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
566 #ifndef U_HIDE_DRAFT_API
570 #endif // U_HIDE_DRAFT_API
573 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
UErrorCode& status,
const PtnSkeleton** specifiedSkeletonPtr = 0);
576 int32_t getTopBitNumber(int32_t foundMask)
const;
579 void copyHashtable(Hashtable *other,
UErrorCode &status);
584 struct AppendItemFormatsSink;
585 struct AppendItemNamesSink;
586 struct AvailableFormatsSink;