Lines Matching refs:calit

96     UCalendar *caldef = 0, *caldef2 = 0, *calfr = 0, *calit = 0, *calfrclone = 0;  in TestCalendar()  local
293 calit=ucal_open(tzID, u_strlen(tzID), "it_IT", UCAL_TRADITIONAL, &status); in TestCalendar()
322 if(caldef && caldef2 && calfr && calit) { in TestCalendar()
324 ucal_equivalentTo(caldef, calit)== TRUE || ucal_equivalentTo(calfr, calfrclone) == FALSE) { in TestCalendar()
398 count=ucal_getAttribute(calit, UCAL_LENIENT); in TestCalendar()
400 ucal_setAttribute(calit, UCAL_LENIENT, 0); in TestCalendar()
402 if( ucal_getAttribute(calit, UCAL_LENIENT) !=0 || in TestCalendar()
409 ucal_setAttribute(calit, UCAL_LENIENT, count); in TestCalendar()
410 if(ucal_getAttribute(calit, UCAL_LENIENT)!=count) in TestCalendar()
414 count=ucal_getAttribute(calit, UCAL_FIRST_DAY_OF_WEEK); in TestCalendar()
416 ucal_setAttribute(calit, UCAL_FIRST_DAY_OF_WEEK,i); in TestCalendar()
417 if (ucal_getAttribute(calit, UCAL_FIRST_DAY_OF_WEEK) != i) in TestCalendar()
421 count=ucal_getAttribute(calit, (UCalendarAttribute)99); /* BOGUS_ATTRIBUTE */ in TestCalendar()
427 ucal_setAttribute(calit, UCAL_FIRST_DAY_OF_WEEK,count); in TestCalendar()
429 count=ucal_getAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK); in TestCalendar()
431 ucal_setAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK,i); in TestCalendar()
432 if (ucal_getAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK) != i) in TestCalendar()
436 ucal_setAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK,count); in TestCalendar()
455 ucal_close(calit); in TestCalendar()