• Home
  • Raw
  • Download

Lines Matching refs:calendars

3452     Calendar *calendars[] = {  in TestRoundtripWithCalendar()  local
3462 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3463 delete calendars[i]; in TestRoundtripWithCalendar()
3490 calendars[i]->setTime(d, status); in TestRoundtripWithCalendar()
3494 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3497 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3504 calendars[j]->setTime(d, status); in TestRoundtripWithCalendar()
3508 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3511 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3512 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
3518 calendars[i]->setTimeZone(*gmt); in TestRoundtripWithCalendar()
3519 calendars[i]->clear(); in TestRoundtripWithCalendar()
3525 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3527 for (int j = 0; calendars[j] != NULL; j++) { in TestRoundtripWithCalendar()
3531 calendars[j]->setTimeZone(*gmt); in TestRoundtripWithCalendar()
3532 calendars[j]->clear(); in TestRoundtripWithCalendar()
3538 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
3539 if (calendars[i]->getTime(status) != calendars[j]->getTime(status) in TestRoundtripWithCalendar()
3540 || calendars[i]->getTimeZone() != calendars[j]->getTimeZone()) { in TestRoundtripWithCalendar()
3543 + "\n Reference calendar type=" + calendars[i]->getType() in TestRoundtripWithCalendar()
3544 + "\n Another calendar type=" + calendars[j]->getType() in TestRoundtripWithCalendar()
3546 + "\n Expected time=" + calendars[i]->getTime(status) in TestRoundtripWithCalendar()
3547 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid) in TestRoundtripWithCalendar()
3548 + "\n Actual time=" + calendars[j]->getTime(status) in TestRoundtripWithCalendar()
3549 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid)); in TestRoundtripWithCalendar()
3560 for (int i = 0; calendars[i] != NULL; i++) { in TestRoundtripWithCalendar()
3561 delete calendars[i]; in TestRoundtripWithCalendar()