25 #if U_SHOW_CPLUSPLUS_API
27 #if !UCONFIG_NO_FORMATTING
44 class SimpleDateFormat;
115 #ifndef U_HIDE_INTERNAL_API
281 #ifndef U_HIDE_DEPRECATED_API
303 #ifndef U_HIDE_DEPRECATED_API
425 #ifndef U_HIDE_INTERNAL_API
431 static const char16_t DEFAULT_TIME_SEPARATOR = 0x003a;
437 static const char16_t ALTERNATE_TIME_SEPARATOR = 0x002e;
505 #ifndef U_HIDE_INTERNAL_API
516 kLeapMonthPatternFormatWide,
517 kLeapMonthPatternFormatAbbrev,
518 kLeapMonthPatternFormatNarrow,
519 kLeapMonthPatternStandaloneWide,
520 kLeapMonthPatternStandaloneAbbrev,
521 kLeapMonthPatternStandaloneNarrow,
522 kLeapMonthPatternNumeric,
542 #ifndef U_HIDE_DEPRECATED_API
608 #ifndef U_HIDE_INTERNAL_API
609 kCapContextUsageOther = 0,
610 kCapContextUsageMonthFormat,
611 kCapContextUsageMonthStandalone,
612 kCapContextUsageMonthNarrow,
613 kCapContextUsageDayFormat,
614 kCapContextUsageDayStandalone,
615 kCapContextUsageDayNarrow,
616 kCapContextUsageEraWide,
617 kCapContextUsageEraAbbrev,
618 kCapContextUsageEraNarrow,
619 kCapContextUsageZoneLong,
620 kCapContextUsageZoneShort,
621 kCapContextUsageMetazoneLong,
622 kCapContextUsageMetazoneShort,
624 kCapContextUsageTypeCount = 14
644 friend class DateFormatSymbolsSingleSetter;
656 int32_t fEraNamesCount;
662 int32_t fNarrowErasCount;
668 int32_t fMonthsCount;
674 int32_t fShortMonthsCount;
680 int32_t fNarrowMonthsCount;
686 int32_t fStandaloneMonthsCount;
692 int32_t fStandaloneShortMonthsCount;
698 int32_t fStandaloneNarrowMonthsCount;
704 int32_t fWeekdaysCount;
710 int32_t fShortWeekdaysCount;
716 int32_t fShorterWeekdaysCount;
722 int32_t fNarrowWeekdaysCount;
728 int32_t fStandaloneWeekdaysCount;
734 int32_t fStandaloneShortWeekdaysCount;
740 int32_t fStandaloneShorterWeekdaysCount;
746 int32_t fStandaloneNarrowWeekdaysCount;
758 int32_t fNarrowAmPmsCount;
769 int32_t fQuartersCount;
775 int32_t fShortQuartersCount;
782 int32_t fNarrowQuartersCount;
788 int32_t fStandaloneQuartersCount;
794 int32_t fStandaloneShortQuartersCount;
801 int32_t fStandaloneNarrowQuartersCount;
807 int32_t fLeapMonthPatternsCount;
815 int32_t fShortYearNamesCount;
823 int32_t fShortZodiacNamesCount;
864 int32_t fZoneStringsRowCount;
865 int32_t fZoneStringsColCount;
879 UBool fCapitalization[kCapContextUsageTypeCount][2];
885 int32_t fAbbreviatedDayPeriodsCount;
891 int32_t fWideDayPeriodsCount;
897 int32_t fNarrowDayPeriodsCount;
903 int32_t fStandaloneAbbreviatedDayPeriodsCount;
909 int32_t fStandaloneWideDayPeriodsCount;
915 int32_t fStandaloneNarrowDayPeriodsCount;
921 CharString* validLocale =
nullptr;
922 CharString* actualLocale =
nullptr;
935 void initializeData(
const Locale& locale,
const char *type,
970 void createZoneStrings(
const UnicodeString *
const * otherStrings);
986 void initZoneStringsArray();
991 void disposeZoneStrings();
1007 static UBool U_EXPORT2 isNumericPatternChar(char16_t c, int32_t count);
1009 #ifndef U_HIDE_INTERNAL_API
C++ API: Calendar object.
A Locale object represents a specific geographical, political, or cultural region.
UObject is the common ICU "boilerplate" class.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Locale ID object.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
C++ API: String Enumeration.
UDateFormatField
FieldPosition and UFieldPosition selectors for format fields defined by DateFormat and UDateFormat.
ULocDataLocaleType
Constants for *_getLocale() Allow user to select whether she wants information on requested,...
int8_t UBool
The ICU boolean type, a signed-byte integer.
C++ API: Common ICU base class UObject.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.