• Home
  • Raw
  • Download

Lines Matching refs:caldef2

104     UCalendar *caldef = 0, *caldef2 = 0, *calfr = 0, *calit = 0, *calfrclone = 0;  in TestCalendar()  local
292 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar()
330 if(caldef && caldef2 && calfr && calit) { in TestCalendar()
331 if(ucal_equivalentTo(caldef, caldef2) == FALSE || ucal_equivalentTo(caldef, calfr)== TRUE || in TestCalendar()
461 ucal_close(caldef2); in TestCalendar()
498 UCalendar *caldef = 0, *caldef2 = 0, *caldef3 = 0; in TestGetSetDateAPI() local
516 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
574 dateBit = ucal_get(caldef2, UCAL_MILLISECOND, &status); in TestGetSetDateAPI()
602 idLen = ucal_getTimeZoneID(caldef2, id, UPRV_LENGTHOF(id), &status); in TestGetSetDateAPI()
612 ucal_setMillis(caldef2, d2, &status); in TestGetSetDateAPI()
616 hour=ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status); in TestGetSetDateAPI()
619 ucal_setTimeZone(caldef2,tzID, 3, &status); in TestGetSetDateAPI()
626 idLen = ucal_getTimeZoneID(caldef2, id, UPRV_LENGTHOF(id), &status); in TestGetSetDateAPI()
635 if(hour == ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) in TestGetSetDateAPI()
637 …else if((hour-8 + 1) != ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) /*because it is not in dayli… in TestGetSetDateAPI()
645 ucal_setTimeZone(caldef2, tzID, 3, &status); in TestGetSetDateAPI()
649 if(d2==ucal_getMillis(caldef2, &status)) in TestGetSetDateAPI()
654 zoneOffset = ucal_get(caldef2, UCAL_ZONE_OFFSET, &status); in TestGetSetDateAPI()
662 ucal_setTimeZone(caldef2, NULL, -1, &status); in TestGetSetDateAPI()
666 if(ucal_getMillis(caldef2, &status)) in TestGetSetDateAPI()
671 zoneOffset = ucal_get(caldef2, UCAL_ZONE_OFFSET, &status); in TestGetSetDateAPI()
751 ucal_close(caldef2); in TestGetSetDateAPI()