Home | History | Annotate | Download | only in i18n

Lines Matching full:other

235 DateFormatSymbols::DateFormatSymbols(const DateFormatSymbols& other)
236 : UObject(other)
238 copyData(other);
306 * Copy all of the other's data to this.
309 DateFormatSymbols::copyData(const DateFormatSymbols& other) {
310 assignArray(fEras, fErasCount, other.fEras, other.fErasCount);
311 assignArray(fEraNames, fEraNamesCount, other.fEraNames, other.fEraNamesCount);
312 assignArray(fNarrowEras, fNarrowErasCount, other.fNarrowEras, other.fNarrowErasCount);
313 assignArray(fMonths, fMonthsCount, other.fMonths, other.fMonthsCount);
314 assignArray(fShortMonths, fShortMonthsCount, other.fShortMonths, other.fShortMonthsCount);
315 assignArray(fNarrowMonths, fNarrowMonthsCount, other.fNarrowMonths, other.fNarrowMonthsCount);
316 assignArray(fStandaloneMonths, fStandaloneMonthsCount, other.fStandaloneMonths, other.fStandaloneMonthsCount);
317 assignArray(fStandaloneShortMonths, fStandaloneShortMonthsCount, other.fStandaloneShortMonths, other.fStandaloneShortMonthsCount);
318 assignArray(fStandaloneNarrowMonths, fStandaloneNarrowMonthsCount, other.fStandaloneNarrowMonths, other.fStandaloneNarrowMonthsCount);
319 assignArray(fWeekdays, fWeekdaysCount, other.fWeekdays, other.fWeekdaysCount);
320 assignArray(fShortWeekdays, fShortWeekdaysCount, other.fShortWeekdays, other.fShortWeekdaysCount);
321 assignArray(fNarrowWeekdays, fNarrowWeekdaysCount, other.fNarrowWeekdays, other.fNarrowWeekdaysCount);
322 assignArray(fStandaloneWeekdays, fStandaloneWeekdaysCount, other.fStandaloneWeekdays, other.fStandaloneWeekdaysCount);
323 assignArray(fStandaloneShortWeekdays, fStandaloneShortWeekdaysCount, other.fStandaloneShortWeekdays, other.fStandaloneShortWeekdaysCount);
324 assignArray(fStandaloneNarrowWeekdays, fStandaloneNarrowWeekdaysCount, other.fStandaloneNarrowWeekdays, other.fStandaloneNarrowWeekdaysCount);
325 assignArray(fAmPms, fAmPmsCount, other.fAmPms, other.fAmPmsCount);
326 assignArray(fQuarters, fQuartersCount, other.fQuarters, other.fQuartersCount);
327 assignArray(fShortQuarters, fShortQuartersCount, other.fShortQuarters, other.fShortQuartersCount);
328 assignArray(fStandaloneQuarters, fStandaloneQuartersCount, other.fStandaloneQuarters, other.fStandaloneQuartersCount);
329 assignArray(fStandaloneShortQuarters, fStandaloneShortQuartersCount, other.fStandaloneShortQuarters, other.fStandaloneShortQuartersCount);
330 fGmtFormat = other.fGmtFormat;
331 assignArray(fGmtHourFormats, fGmtHourFormatsCount, other.fGmtHourFormats, other.fGmtHourFormatsCount);
333 if (other.fZoneStrings != NULL) {
334 fZoneStringsColCount = other.fZoneStringsColCount;
335 fZoneStringsRowCount = other.fZoneStringsRowCount;
336 createZoneStrings((const UnicodeString**)other.fZoneStrings);
343 fZSFLocale = other.fZSFLocale;
344 // Other zone strings data is created on demand
351 fLocalPatternChars.fastCopyFrom(other.fLocalPatternChars);
357 DateFormatSymbols& DateFormatSymbols::operator=(const DateFormatSymbols& other)
360 copyData(other);
443 DateFormatSymbols::operator==(const DateFormatSymbols& other) const
446 if (this == &other) {
449 if (fErasCount == other.fErasCount &&
450 fEraNamesCount == other.fEraNamesCount &&
451 fNarrowErasCount == other.fNarrowErasCount &&
452 fMonthsCount == other.fMonthsCount &&
453 fShortMonthsCount == other.fShortMonthsCount &&
454 fNarrowMonthsCount == other.fNarrowMonthsCount &&
455 fStandaloneMonthsCount == other.fStandaloneMonthsCount &&
456 fStandaloneShortMonthsCount == other.fStandaloneShortMonthsCount &&
457 fStandaloneNarrowMonthsCount == other.fStandaloneNarrowMonthsCount &&
458 fWeekdaysCount == other.fWeekdaysCount &&
459 fShortWeekdaysCount == other.fShortWeekdaysCount &&
460 other.fNarrowWeekdaysCount &&
461 fStandaloneWeekdaysCount == other.fStandaloneWeekdaysCount &&
462 fStandaloneShortWeekdaysCount == other.fStandaloneShortWeekdaysCount &&
463 fStandaloneNarrowWeekdaysCount == other.fStandaloneNarrowWeekdaysCount &&
464 fAmPmsCount == other.fAmPmsCount &&
465 fQuartersCount == other.fQuartersCount &&
466 fShortQuartersCount == other.fShortQuartersCount &&
467 fStandaloneQuartersCount == other.fStandaloneQuartersCount &&
468 fStandaloneShortQuartersCount == other.fStandaloneShortQuartersCount &&
469 fGmtHourFormatsCount == other.fGmtHourFormatsCount &&
470 fGmtFormat == other.fGmtFormat)
473 if (arrayCompare(fEras, other.fEras, fErasCount) &&
474 arrayCompare(fEraNames, other.fEraNames, fEraNamesCount) &&
475 arrayCompare(fNarrowEras, other.fNarrowEras, fNarrowErasCount) &&
476 arrayCompare(fMonths, other.fMonths, fMonthsCount) &&
477 arrayCompare(fShortMonths, other.fShortMonths, fShortMonthsCount) &&
478 arrayCompare(fNarrowMonths, other.fNarrowMonths, fNarrowMonthsCount) &&
479 arrayCompare(fStandaloneMonths, other.fStandaloneMonths, fStandaloneMonthsCount) &&
480 arrayCompare(fStandaloneShortMonths, other.fStandaloneShortMonths, fStandaloneShortMonthsCount) &&
481 arrayCompare(fStandaloneNarrowMonths, other.fStandaloneNarrowMonths, fStandaloneNarrowMonthsCount) &&
482 arrayCompare(fWeekdays, other.fWeekdays, fWeekdaysCount) &&
483 arrayCompare(fShortWeekdays, other.fShortWeekdays, fShortWeekdaysCount) &&
484 arrayCompare(fNarrowWeekdays, other.fNarrowWeekdays, fNarrowWeekdaysCount) &&
485 arrayCompare(fStandaloneWeekdays, other.fStandaloneWeekdays, fStandaloneWeekdaysCount) &&
486 arrayCompare(fStandaloneShortWeekdays, other.fStandaloneShortWeekdays, fStandaloneShortWeekdaysCount) &&
487 arrayCompare(fStandaloneNarrowWeekdays, other.fStandaloneNarrowWeekdays, fStandaloneNarrowWeekdaysCount) &&
488 arrayCompare(fAmPms, other.fAmPms, fAmPmsCount) &&
489 arrayCompare(fQuarters, other.fQuarters, fQuartersCount) &&
490 arrayCompare(fShortQuarters, other.fShortQuarters, fShortQuartersCount) &&
491 arrayCompare(fStandaloneQuarters, other.fStandaloneQuarters, fStandaloneQuartersCount) &&
492 arrayCompare(fStandaloneShortQuarters, other.fStandaloneShortQuarters, fStandaloneShortQuartersCount) &&
493 arrayCompare(fGmtHourFormats, other.fGmtHourFormats, fGmtHourFormatsCount))
496 if (fZoneStrings == NULL && other.fZoneStrings == NULL) {
497 if (fZSFLocale == other.fZSFLocale) {
500 } else if (fZoneStrings != NULL && other.fZoneStrings != NULL) {
501 if (fZoneStringsRowCount == other.fZoneStringsRowCount
502 && fZoneStringsColCount == other.fZoneStringsColCount) {
505 cmpres = arrayCompare(fZoneStrings[i], other.fZoneStrings[i], fZoneStringsColCount);