• Home
  • Raw
  • Download

Lines Matching refs:calit

104     UCalendar *caldef = 0, *caldef2 = 0, *calfr = 0, *calit = 0, *calfrclone = 0;  in TestCalendar()  local
301 calit=ucal_open(tzID, u_strlen(tzID), "it_IT", UCAL_TRADITIONAL, &status); in TestCalendar()
330 if(caldef && caldef2 && calfr && calit) { in TestCalendar()
332 ucal_equivalentTo(caldef, calit)== TRUE || ucal_equivalentTo(calfr, calfrclone) == FALSE) { in TestCalendar()
406 count=ucal_getAttribute(calit, UCAL_LENIENT); in TestCalendar()
408 ucal_setAttribute(calit, UCAL_LENIENT, 0); in TestCalendar()
410 if( ucal_getAttribute(calit, UCAL_LENIENT) !=0 || in TestCalendar()
417 ucal_setAttribute(calit, UCAL_LENIENT, count); in TestCalendar()
418 if(ucal_getAttribute(calit, UCAL_LENIENT)!=count) in TestCalendar()
422 count=ucal_getAttribute(calit, UCAL_FIRST_DAY_OF_WEEK); in TestCalendar()
424 ucal_setAttribute(calit, UCAL_FIRST_DAY_OF_WEEK,i); in TestCalendar()
425 if (ucal_getAttribute(calit, UCAL_FIRST_DAY_OF_WEEK) != i) in TestCalendar()
429 count=ucal_getAttribute(calit, (UCalendarAttribute)99); /* BOGUS_ATTRIBUTE */ in TestCalendar()
435 ucal_setAttribute(calit, UCAL_FIRST_DAY_OF_WEEK,count); in TestCalendar()
437 count=ucal_getAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK); in TestCalendar()
439 ucal_setAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK,i); in TestCalendar()
440 if (ucal_getAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK) != i) in TestCalendar()
444 ucal_setAttribute(calit, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK,count); in TestCalendar()
463 ucal_close(calit); in TestCalendar()