Lines Matching refs:calendars
3405 Calendar *calendars[] = { in TestRoundtripWithCalendar() local
3415 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3416 delete calendars[i]; in TestRoundtripWithCalendar()
3443 calendars[i]->setTime(d, status); in TestRoundtripWithCalendar()
3447 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3450 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3457 calendars[j]->setTime(d, status); in TestRoundtripWithCalendar()
3461 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3464 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3465 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
3471 calendars[i]->setTimeZone(*gmt); in TestRoundtripWithCalendar()
3472 calendars[i]->clear(); in TestRoundtripWithCalendar()
3478 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3480 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3484 calendars[j]->setTimeZone(*gmt); in TestRoundtripWithCalendar()
3485 calendars[j]->clear(); in TestRoundtripWithCalendar()
3491 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
3492 if (calendars[i]->getTime(status) != calendars[j]->getTime(status) in TestRoundtripWithCalendar()
3493 || calendars[i]->getTimeZone() != calendars[j]->getTimeZone()) { in TestRoundtripWithCalendar()
3496 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3497 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
3499 + "\n Expected time=" + calendars[i]->getTime(status) in TestRoundtripWithCalendar()
3500 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid) in TestRoundtripWithCalendar()
3501 + "\n Actual time=" + calendars[j]->getTime(status) in TestRoundtripWithCalendar()
3502 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid)); in TestRoundtripWithCalendar()
3513 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3514 delete calendars[i]; in TestRoundtripWithCalendar()