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
360 #ifndef U_HIDE_INTERNAL_API
366 kMaxIntervalPatternIndex = kIPI_MAX_INDEX
377 void initializeData(
const Locale& locale,
UErrorCode& status);
390 void setIntervalPatternInternally(
const UnicodeString& skeleton,
392 const UnicodeString& intervalPattern,
414 const UnicodeString* getBestSkeleton(
const UnicodeString& skeleton,
415 int8_t& bestMatchDistanceInfo)
const;
425 static void U_EXPORT2 parseSkeleton(
const UnicodeString& skeleton,
426 int32_t* skeletonFieldWidth);
440 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
441 int32_t anotherFieldWidth,
458 static IntervalPatternIndex U_EXPORT2 calendarFieldToIntervalIndex(
468 void deleteHash(Hashtable* hTable);
488 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
493 UnicodeString fFallbackIntervalPattern;
495 UBool fFirstDateInPtnIsLaterDate;
499 Hashtable* fIntervalPatterns;