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();
346 struct DateIntervalSink;
353 enum IntervalPatternIndex
366 #ifndef U_HIDE_INTERNAL_API
372 kMaxIntervalPatternIndex = kIPI_MAX_INDEX
383 void initializeData(
const Locale& locale,
UErrorCode& status);
396 void setIntervalPatternInternally(
const UnicodeString& skeleton,
398 const UnicodeString& intervalPattern,
420 const UnicodeString* getBestSkeleton(
const UnicodeString& skeleton,
421 int8_t& bestMatchDistanceInfo)
const;
431 static void U_EXPORT2 parseSkeleton(
const UnicodeString& skeleton,
432 int32_t* skeletonFieldWidth);
446 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
447 int32_t anotherFieldWidth,
464 static IntervalPatternIndex U_EXPORT2 calendarFieldToIntervalIndex(
474 void deleteHash(Hashtable* hTable);
494 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
499 UnicodeString fFallbackIntervalPattern;
501 UBool fFirstDateInPtnIsLaterDate;
505 Hashtable* fIntervalPatterns;