23 #if !UCONFIG_NO_FORMATTING
109 #ifndef U_HIDE_INTERNAL_API
411 #ifndef U_HIDE_INTERNAL_API
417 static const UChar DEFAULT_TIME_SEPARATOR = 0x003a;
423 static const UChar ALTERNATE_TIME_SEPARATOR = 0x002e;
491 #ifndef U_HIDE_INTERNAL_API
502 kLeapMonthPatternFormatWide,
503 kLeapMonthPatternFormatAbbrev,
504 kLeapMonthPatternFormatNarrow,
505 kLeapMonthPatternStandaloneWide,
506 kLeapMonthPatternStandaloneAbbrev,
507 kLeapMonthPatternStandaloneNarrow,
508 kLeapMonthPatternNumeric,
528 #ifndef U_HIDE_DEPRECATED_API
594 #ifndef U_HIDE_INTERNAL_API
595 kCapContextUsageOther = 0,
596 kCapContextUsageMonthFormat,
597 kCapContextUsageMonthStandalone,
598 kCapContextUsageMonthNarrow,
599 kCapContextUsageDayFormat,
600 kCapContextUsageDayStandalone,
601 kCapContextUsageDayNarrow,
602 kCapContextUsageEraWide,
603 kCapContextUsageEraAbbrev,
604 kCapContextUsageEraNarrow,
605 kCapContextUsageZoneLong,
606 kCapContextUsageZoneShort,
607 kCapContextUsageMetazoneLong,
608 kCapContextUsageMetazoneShort,
610 kCapContextUsageTypeCount = 14
630 friend class DateFormatSymbolsSingleSetter;
642 int32_t fEraNamesCount;
648 int32_t fNarrowErasCount;
654 int32_t fMonthsCount;
660 int32_t fShortMonthsCount;
666 int32_t fNarrowMonthsCount;
672 int32_t fStandaloneMonthsCount;
678 int32_t fStandaloneShortMonthsCount;
684 int32_t fStandaloneNarrowMonthsCount;
690 int32_t fWeekdaysCount;
696 int32_t fShortWeekdaysCount;
702 int32_t fShorterWeekdaysCount;
708 int32_t fNarrowWeekdaysCount;
714 int32_t fStandaloneWeekdaysCount;
720 int32_t fStandaloneShortWeekdaysCount;
726 int32_t fStandaloneShorterWeekdaysCount;
732 int32_t fStandaloneNarrowWeekdaysCount;
744 int32_t fNarrowAmPmsCount;
755 int32_t fQuartersCount;
761 int32_t fShortQuartersCount;
767 int32_t fStandaloneQuartersCount;
773 int32_t fStandaloneShortQuartersCount;
779 int32_t fLeapMonthPatternsCount;
787 int32_t fShortYearNamesCount;
795 int32_t fShortZodiacNamesCount;
836 int32_t fZoneStringsRowCount;
837 int32_t fZoneStringsColCount;
851 UBool fCapitalization[kCapContextUsageTypeCount][2];
857 int32_t fAbbreviatedDayPeriodsCount;
863 int32_t fWideDayPeriodsCount;
869 int32_t fNarrowDayPeriodsCount;
875 int32_t fStandaloneAbbreviatedDayPeriodsCount;
881 int32_t fStandaloneWideDayPeriodsCount;
887 int32_t fStandaloneNarrowDayPeriodsCount;
941 void createZoneStrings(
const UnicodeString *
const * otherStrings);
957 void initZoneStringsArray(
void);
962 void disposeZoneStrings(
void);
978 static UBool U_EXPORT2 isNumericPatternChar(
UChar c, int32_t count);
980 #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.
UDateFormatField
FieldPosition and UFieldPosition selectors for format fields defined by DateFormat and UDateFormat.
#define ULOC_FULLNAME_CAPACITY
Useful constant for the maximum size of the whole locale ID (including the terminating NULL and all k...
ULocDataLocaleType
Constants for *_getLocale() Allow user to select whether she wants information on requested,...
int8_t UBool
The ICU boolean type.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
#define FALSE
The FALSE value of a UBool.
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
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.