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
339 #if !UCONFIG_NO_FORMATTING
340 #ifndef U_HIDE_DRAFT_API
517 #ifndef U_HIDE_INTERNAL_API
553 #if !UCONFIG_NO_FORMATTING
583 static UClassID U_EXPORT2 getStaticClassID(
void);
612 DateTimeMatcher* dtMatcher;
613 DistanceInfo *distanceInfo;
614 PatternMap *patternMap;
619 DateTimeMatcher *skipMatcher;
620 Hashtable *fAvailableFormatKeyHash;
622 char16_t fDefaultHourFormatChar;
624 int32_t fAllowedHourFormats[7];
634 kDTPGFixFractionalSeconds = 1,
635 kDTPGSkeletonUsesCapJ = 2
643 void getCalendarTypeToUse(
const Locale& locale, CharString& destination,
UErrorCode& err);
657 const UnicodeString* getBestRaw(DateTimeMatcher& source, int32_t includeMask, DistanceInfo* missingFields,
UErrorCode& status,
const PtnSkeleton** specifiedSkeletonPtr = 0);
660 int32_t getTopBitNumber(int32_t foundMask)
const;
663 void copyHashtable(Hashtable *other,
UErrorCode &status);
668 struct AppendItemFormatsSink;
669 struct AppendItemNamesSink;
670 struct AvailableFormatsSink;