14 #ifndef __DTITVINF_H__
15 #define __DTITVINF_H__
24 #if !UCONFIG_NO_FORMATTING
303 void setFallbackIntervalPattern(
const UnicodeString& fallbackPattern,
313 UBool getDefaultOrder()
const;
328 static UClassID U_EXPORT2 getStaticClassID();
345 struct DateIntervalSink;
352 enum IntervalPatternIndex
365 #ifndef U_HIDE_INTERNAL_API
371 kMaxIntervalPatternIndex = kIPI_MAX_INDEX
382 void initializeData(
const Locale& locale,
UErrorCode& status);
395 void setIntervalPatternInternally(
const UnicodeString& skeleton,
397 const UnicodeString& intervalPattern,
419 const UnicodeString* getBestSkeleton(
const UnicodeString& skeleton,
420 int8_t& bestMatchDistanceInfo)
const;
430 static void U_EXPORT2 parseSkeleton(
const UnicodeString& skeleton,
431 int32_t* skeletonFieldWidth);
445 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
446 int32_t anotherFieldWidth,
463 static IntervalPatternIndex U_EXPORT2 calendarFieldToIntervalIndex(
473 void deleteHash(Hashtable* hTable);
493 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
498 UnicodeString fFallbackIntervalPattern;
500 UBool fFirstDateInPtnIsLaterDate;
504 Hashtable* fIntervalPatterns;