14 #ifndef __DTITVINF_H__
15 #define __DTITVINF_H__
19 #if U_SHOW_CPLUSPLUS_API
26 #if !UCONFIG_NO_FORMATTING
304 void setFallbackIntervalPattern(
const UnicodeString& fallbackPattern,
314 UBool getDefaultOrder()
const;
329 static UClassID U_EXPORT2 getStaticClassID();
353 enum IntervalPatternIndex
367 #ifndef U_HIDE_INTERNAL_API
373 kMaxIntervalPatternIndex = kIPI_MAX_INDEX
384 void initializeData(
const Locale& locale,
UErrorCode& status);
397 void setIntervalPatternInternally(
const UnicodeString& skeleton,
399 const UnicodeString& intervalPattern,
421 const UnicodeString* getBestSkeleton(
const UnicodeString& skeleton,
422 int8_t& bestMatchDistanceInfo)
const;
432 static void U_EXPORT2 parseSkeleton(
const UnicodeString& skeleton,
433 int32_t* skeletonFieldWidth);
447 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
448 int32_t anotherFieldWidth,
465 static IntervalPatternIndex U_EXPORT2 calendarFieldToIntervalIndex(
475 void deleteHash(Hashtable* hTable);
495 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
500 UnicodeString fFallbackIntervalPattern;
502 UBool fFirstDateInPtnIsLaterDate;
506 Hashtable* fIntervalPatterns;