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
457 #ifndef U_HIDE_INTERNAL_API
493 #if !UCONFIG_NO_FORMATTING
523 static UClassID U_EXPORT2 getStaticClassID(
void);
553 DateTimeMatcher* dtMatcher;
554 DistanceInfo *distanceInfo;
555 PatternMap *patternMap;
561 DateTimeMatcher *skipMatcher;
562 Hashtable *fAvailableFormatKeyHash;
564 char16_t fDefaultHourFormatChar;
566 int32_t fAllowedHourFormats[7];
576 kDTPGFixFractionalSeconds = 1,
577 kDTPGSkeletonUsesCapJ = 2
585 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
599 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
UErrorCode& status,
const PtnSkeleton** specifiedSkeletonPtr = 0);
602 int32_t getTopBitNumber(int32_t foundMask)
const;
605 void copyHashtable(Hashtable *other,
UErrorCode &status);
610 struct AppendItemFormatsSink;
611 struct AppendItemNamesSink;
612 struct AvailableFormatsSink;