Lines Matching refs:caldef2
95 UCalendar *caldef = 0, *caldef2 = 0, *calfr = 0, *calit = 0, *calfrclone = 0;
283 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
321 if(caldef && caldef2 && calfr && calit) {
322 if(ucal_equivalentTo(caldef, caldef2) == FALSE || ucal_equivalentTo(caldef, calfr)== TRUE ||
452 ucal_close(caldef2);
489 UCalendar *caldef = 0, *caldef2 = 0, *caldef3 = 0;
507 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
565 dateBit = ucal_get(caldef2, UCAL_MILLISECOND, &status);
593 idLen = ucal_getTimeZoneID(caldef2, id, sizeof(id)/sizeof(id[0]), &status);
603 ucal_setMillis(caldef2, d2, &status);
607 hour=ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status);
610 ucal_setTimeZone(caldef2,tzID, 3, &status);
617 idLen = ucal_getTimeZoneID(caldef2, id, sizeof(id)/sizeof(id[0]), &status);
626 if(hour == ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status))
628 else if((hour-8 + 1) != ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) /*because it is not in daylight savings time */
636 ucal_setTimeZone(caldef2, tzID, 3, &status);
640 if(d2==ucal_getMillis(caldef2, &status))
645 zoneOffset = ucal_get(caldef2, UCAL_ZONE_OFFSET, &status);
653 ucal_setTimeZone(caldef2, NULL, -1, &status);
657 if(ucal_getMillis(caldef2, &status))
662 zoneOffset = ucal_get(caldef2, UCAL_ZONE_OFFSET, &status);
742 ucal_close(caldef2);