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
396 void setIntervalPatternInternally(
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);
501 UBool fFirstDateInPtnIsLaterDate;
505 Hashtable* fIntervalPatterns;
UCalendarDateFields
Possible fields in a UCalendar.
C++ API: Date/Time Pattern Generator.
DateIntervalInfo is a public class for encapsulating localizable date time interval patterns...
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
UBool operator!=(const DateIntervalInfo &other) const
Return true if another object is semantically unequal to this one.
C++ API: Locale ID object.
#define U_FINAL
Defined to the C++11 "final" keyword if available.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type.
A Locale object represents a specific geographical, political, or cultural region.