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
495 #ifndef U_HIDE_DRAFT_API
525 static UClassID U_EXPORT2 getStaticClassID(
void);
555 DateTimeMatcher* dtMatcher;
556 DistanceInfo *distanceInfo;
557 PatternMap *patternMap;
563 DateTimeMatcher *skipMatcher;
564 Hashtable *fAvailableFormatKeyHash;
566 char16_t fDefaultHourFormatChar;
568 int32_t fAllowedHourFormats[7];
578 kDTPGFixFractionalSeconds = 1,
579 kDTPGSkeletonUsesCapJ = 2
587 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
601 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
UErrorCode& status,
const PtnSkeleton** specifiedSkeletonPtr = 0);
604 int32_t getTopBitNumber(int32_t foundMask)
const;
607 void copyHashtable(Hashtable *other,
UErrorCode &status);
612 struct AppendItemFormatsSink;
613 struct AppendItemNamesSink;
614 struct AvailableFormatsSink;