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);
530 DateTimeMatcher* dtMatcher;
531 DistanceInfo *distanceInfo;
532 PatternMap *patternMap;
538 DateTimeMatcher *skipMatcher;
539 Hashtable *fAvailableFormatKeyHash;
541 char16_t fDefaultHourFormatChar;
543 int32_t fAllowedHourFormats[7];
548 kDTPGFixFractionalSeconds = 1,
549 kDTPGSkeletonUsesCapJ = 2
557 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
565 #ifndef U_HIDE_DRAFT_API
569 #endif // U_HIDE_DRAFT_API
573 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
const PtnSkeleton** specifiedSkeletonPtr = 0);
576 int32_t getTopBitNumber(int32_t foundMask);
579 void copyHashtable(Hashtable *other,
UErrorCode &status);
584 struct AppendItemFormatsSink;
585 struct AppendItemNamesSink;
586 struct AvailableFormatsSink;