12 #ifndef __DTITVINF_H__
13 #define __DTITVINF_H__
22 #if !UCONFIG_NO_FORMATTING
153 #ifndef U_HIDE_INTERNAL_API
303 void setFallbackIntervalPattern(
const UnicodeString& fallbackPattern,
313 UBool getDefaultOrder()
const;
328 static UClassID U_EXPORT2 getStaticClassID();
347 enum IntervalPatternIndex
359 #ifndef U_HIDE_INTERNAL_API
365 kMaxIntervalPatternIndex = kIPI_MAX_INDEX
376 void initializeData(
const Locale& locale,
UErrorCode& status);
389 void setIntervalPatternInternally(
const UnicodeString& skeleton,
391 const UnicodeString& intervalPattern,
413 const UnicodeString* getBestSkeleton(
const UnicodeString& skeleton,
414 int8_t& bestMatchDistanceInfo)
const;
424 static void U_EXPORT2 parseSkeleton(
const UnicodeString& skeleton,
425 int32_t* skeletonFieldWidth);
439 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
440 int32_t anotherFieldWidth,
457 static IntervalPatternIndex U_EXPORT2 calendarFieldToIntervalIndex(
467 void deleteHash(Hashtable* hTable);
487 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
492 UnicodeString fFallbackIntervalPattern;
494 UBool fFirstDateInPtnIsLaterDate;
498 Hashtable* fIntervalPatterns;