Home | History | Annotate | Download | only in intltest

Lines Matching refs:calendars

2919     Calendar *calendars[] = {
2928 errln("Failed to initialize calendars");
2929 for (int i = 0; calendars[i] != NULL; i++) {
2930 delete calendars[i];
2938 // The order of test formatters must match the order of calendars above.
2957 calendars[i]->setTime(d, status);
2961 formatters[i]->format(*calendars[i], buf, fpos);
2964 for (int j = 0; calendars[j] != NULL; j++) {
2971 calendars[j]->setTime(d, status);
2975 formatters[i]->format(*calendars[j], buf, fpos);
2978 + "\n Reference calendar type=" + calendars[i]->getType()
2979 + "\n Another calendar type=" + calendars[j]->getType()
2985 calendars[i]->setTimeZone(*gmt);
2986 calendars[i]->clear();
2992 formatters[i]->parse(refStr, *calendars[i], ppos);
2994 for (int j = 0; calendars[j] != NULL; j++) {
2998 calendars[j]->setTimeZone(*gmt);
2999 calendars[j]->clear();
3005 formatters[i]->parse(refStr, *calendars[j], ppos);
3006 if (calendars[i]->getTime(status) != calendars[j]->getTime(status)
3007 || calendars[i]->getTimeZone() != calendars[j]->getTimeZone()) {
3010 + "\n Reference calendar type=" + calendars[i]->getType()
3011 + "\n Another calendar type=" + calendars[j]->getType()
3013 + "\n Expected time=" + calendars[i]->getTime(status)
3014 + "\n Expected time zone=" + calendars[i]->getTimeZone().getID(tzid)
3015 + "\n Actual time=" + calendars[j]->getTime(status)
3016 + "\n Actual time zone=" + calendars[j]->getTimeZone().getID(tzid));
3027 for (int i = 0; calendars[i] != NULL; i++) {
3028 delete calendars[i];