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();
342 friend struct DateIntervalSink;
349 enum IntervalPatternIndex
362 #ifndef U_HIDE_INTERNAL_API
368 kMaxIntervalPatternIndex = kIPI_MAX_INDEX
379 void initializeData(
const Locale& locale,
UErrorCode& status);
392 void setIntervalPatternInternally(
const UnicodeString& skeleton,
394 const UnicodeString& intervalPattern,
416 const UnicodeString* getBestSkeleton(
const UnicodeString& skeleton,
417 int8_t& bestMatchDistanceInfo)
const;
427 static void U_EXPORT2 parseSkeleton(
const UnicodeString& skeleton,
428 int32_t* skeletonFieldWidth);
442 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
443 int32_t anotherFieldWidth,
460 static IntervalPatternIndex U_EXPORT2 calendarFieldToIntervalIndex(
470 void deleteHash(Hashtable* hTable);
490 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
495 UnicodeString fFallbackIntervalPattern;
497 UBool fFirstDateInPtnIsLaterDate;
501 Hashtable* fIntervalPatterns;