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
332 #if !UCONFIG_NO_FORMATTING
508 #ifndef U_HIDE_INTERNAL_API
544 #if !UCONFIG_NO_FORMATTING
574 static UClassID U_EXPORT2 getStaticClassID(
void);
603 DateTimeMatcher* dtMatcher;
604 DistanceInfo *distanceInfo;
605 PatternMap *patternMap;
610 DateTimeMatcher *skipMatcher;
611 Hashtable *fAvailableFormatKeyHash;
613 char16_t fDefaultHourFormatChar;
615 int32_t fAllowedHourFormats[7];
625 kDTPGFixFractionalSeconds = 1,
626 kDTPGSkeletonUsesCapJ = 2
634 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
648 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
UErrorCode& status,
const PtnSkeleton** specifiedSkeletonPtr = 0);
651 int32_t getTopBitNumber(int32_t foundMask)
const;
654 void copyHashtable(Hashtable *other,
UErrorCode &status);
659 struct U_HIDDEN AppendItemFormatsSink;
660 struct U_HIDDEN AppendItemNamesSink;
661 struct U_HIDDEN AvailableFormatsSink;