ICU-2943 update to weekday calculation
X-SVN-Rev: 13759
This commit is contained in:
parent
7864fab41d
commit
11117b20e9
@ -690,6 +690,7 @@ DateFormatSymbols::initializeData(const Locale& locale, const char *type, UError
|
||||
// fastCopyFrom() - see assignArray comments
|
||||
fWeekdays[i+1].fastCopyFrom(weekdaysData.getStringEx(i, status));
|
||||
}
|
||||
fWeekdaysCount++;
|
||||
|
||||
ResourceBundle lsweekdaysData(getData(resource, gDayAbbreviationsTag, type, status));
|
||||
fShortWeekdaysCount = lsweekdaysData.getSize();
|
||||
@ -704,8 +705,7 @@ DateFormatSymbols::initializeData(const Locale& locale, const char *type, UError
|
||||
// fastCopyFrom() - see assignArray comments
|
||||
fShortWeekdays[i+1].fastCopyFrom(lsweekdaysData.getStringEx(i, status));
|
||||
}
|
||||
|
||||
fWeekdaysCount = fShortWeekdaysCount = 8;
|
||||
fShortWeekdaysCount++;
|
||||
|
||||
// If the locale data does not include new pattern chars, use the defaults
|
||||
if (fLocalPatternChars.length() < PATTERN_CHARS_LEN) {
|
||||
|
Loading…
Reference in New Issue
Block a user