ICU-12740 use private static const int32_t, not #define, for UDATPG_WIDTH_COUNT
X-SVN-Rev: 41035
This commit is contained in:
parent
ec9ee07ba5
commit
b69d78b0e8
@ -267,7 +267,7 @@ static const char* const CLDR_FIELD_NAME[UDATPG_FIELD_COUNT] = {
|
||||
"hour", "minute", "second", "*", "zone"
|
||||
};
|
||||
|
||||
static const char* const CLDR_FIELD_WIDTH[UDATPG_WIDTH_COUNT] = {
|
||||
static const char* const CLDR_FIELD_WIDTH[] = { // [UDATPG_WIDTH_COUNT]
|
||||
"", "-short", "-narrow"
|
||||
};
|
||||
|
||||
|
@ -522,13 +522,14 @@ private:
|
||||
*/
|
||||
DateTimePatternGenerator& operator=(const DateTimePatternGenerator& other);
|
||||
|
||||
static const int32_t UDATPG_WIDTH_COUNT = UDATPG_NARROW + 1;
|
||||
|
||||
Locale pLocale; // pattern locale
|
||||
FormatParser *fp;
|
||||
DateTimeMatcher* dtMatcher;
|
||||
DistanceInfo *distanceInfo;
|
||||
PatternMap *patternMap;
|
||||
UnicodeString appendItemFormats[UDATPG_FIELD_COUNT];
|
||||
#define UDATPG_WIDTH_COUNT (UDATPG_NARROW + 1)
|
||||
UnicodeString fieldDisplayNames[UDATPG_FIELD_COUNT][UDATPG_WIDTH_COUNT];
|
||||
UnicodeString dateTimeFormat;
|
||||
UnicodeString decimal;
|
||||
|
Loading…
Reference in New Issue
Block a user