• Home
  • Raw
  • Download

Lines Matching refs:caldef

104     UCalendar *caldef = 0, *caldef2 = 0, *calfr = 0, *calit = 0, *calfrclone = 0;  in TestCalendar()  local
287 caldef=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()
332 ucal_equivalentTo(caldef, calit)== TRUE || ucal_equivalentTo(calfr, calfrclone) == FALSE) { in TestCalendar()
356 …resultlengthneeded=ucal_getTimeZoneDisplayName(caldef, UCAL_DST, "en_US", NULL, resultlength, &sta… in TestCalendar()
363 ucal_getTimeZoneDisplayName(caldef, UCAL_DST, "en_US", result, resultlength, &status); in TestCalendar()
385 ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_DST, "en_US", result, resultlength, &status); in TestCalendar()
391 ucal_getTimeZoneDisplayName(caldef, UCAL_STANDARD, "en_US", result, resultlength, &status); in TestCalendar()
397 … ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_STANDARD, "en_US", result, resultlength, &status); in TestCalendar()
409 ucal_setAttribute(caldef, UCAL_LENIENT, count2); in TestCalendar()
411 ucal_getAttribute(calfr, UCAL_LENIENT)!=ucal_getAttribute(caldef, UCAL_LENIENT) ) in TestCalendar()
449 ucal_setDateTime(caldef, 1999, UCAL_MARCH, 3, 10, 45, 20, &status); in TestCalendar()
450 ucal_inDaylightTime(caldef, &status ); in TestCalendar()
454 if(!ucal_inDaylightTime(caldef, &status)) in TestCalendar()
460 ucal_close(caldef); in TestCalendar()
470caldef = ucal_open(NULL, 0, ucalGetTypeTestPtr->locale, ucalGetTypeTestPtr->calType, &status); in TestCalendar()
472 const char * calType = ucal_getType(caldef, &status); in TestCalendar()
481 ucal_close(caldef); in TestCalendar()
498 UCalendar *caldef = 0, *caldef2 = 0, *caldef3 = 0; in TestGetSetDateAPI() local
515 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
531 d1=ucal_getMillis(caldef, &status); in TestGetSetDateAPI()
538 ucal_setMillis(caldef, d2, &status); in TestGetSetDateAPI()
544 d1=ucal_getMillis(caldef, &status); in TestGetSetDateAPI()
688 ucal_setDate(caldef,1971, UCAL_DECEMBER, 17, &status); in TestGetSetDateAPI()
693 d1=ucal_getMillis(caldef, &status); in TestGetSetDateAPI()
702 ucal_setDate(caldef, 1999, UCAL_JANUARY, 10, &status); in TestGetSetDateAPI()
703 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); in TestGetSetDateAPI()
704 ucal_setDate(caldef, 1999, UCAL_DECEMBER, 3, &status); in TestGetSetDateAPI()
705 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3); in TestGetSetDateAPI()
706 ucal_setDate(caldef, 2000, UCAL_MAY, 3, &status); in TestGetSetDateAPI()
707 verify1("2000 3rd day of May is :", caldef, datdef, 2000, UCAL_MAY, 3); in TestGetSetDateAPI()
708 ucal_setDate(caldef, 1999, UCAL_AUGUST, 32, &status); in TestGetSetDateAPI()
709 verify1("1999 32th day of August is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1); in TestGetSetDateAPI()
710 ucal_setDate(caldef, 1999, UCAL_MARCH, 0, &status); in TestGetSetDateAPI()
711 verify1("1999 0th day of March is :", caldef, datdef, 1999, UCAL_FEBRUARY, 28); in TestGetSetDateAPI()
712 ucal_setDate(caldef, 0, UCAL_MARCH, 12, &status); in TestGetSetDateAPI()
719 ucal_setDateTime(caldef,1972, UCAL_MAY, 3, 16, 30, 42, &status); in TestGetSetDateAPI()
724 d1=ucal_getMillis(caldef, &status); in TestGetSetDateAPI()
734 ucal_setDateTime(caldef, 1999, UCAL_OCTOBER, 10, 6, 45, 30, &status); in TestGetSetDateAPI()
735 …verify2("1999 10th day of October at 6:45:30 is :", caldef, datdef, 1999, UCAL_OCTOBER, 10, 6, 4… in TestGetSetDateAPI()
736 ucal_setDateTime(caldef, 1999, UCAL_MARCH, 3, 15, 10, 55, &status); in TestGetSetDateAPI()
737 …verify2("1999 3rd day of March at 15:10:55 is :", caldef, datdef, 1999, UCAL_MARCH, 3, 3, 10, 55… in TestGetSetDateAPI()
738 ucal_setDateTime(caldef, 1999, UCAL_MAY, 3, 25, 30, 45, &status); in TestGetSetDateAPI()
739 … verify2("1999 3rd day of May at 25:30:45 is :", caldef, datdef, 1999, UCAL_MAY, 4, 1, 30, 45, 0); in TestGetSetDateAPI()
740 ucal_setDateTime(caldef, 1999, UCAL_AUGUST, 32, 22, 65, 40, &status); in TestGetSetDateAPI()
741 …verify2("1999 32th day of August at 22:65:40 is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1, 11, 5… in TestGetSetDateAPI()
742 ucal_setDateTime(caldef, 1999, UCAL_MARCH, 12, 0, 0, 0,&status); in TestGetSetDateAPI()
743 … verify2("1999 12th day of March at 0:0:0 is :", caldef, datdef, 1999, UCAL_MARCH, 12, 0, 0, 0, 0); in TestGetSetDateAPI()
744 ucal_setDateTime(caldef, 1999, UCAL_MARCH, 12, -10, -10,0, &status); in TestGetSetDateAPI()
745 …verify2("1999 12th day of March is at -10:-10:0 :", caldef, datdef, 1999, UCAL_MARCH, 11, 1, 50, 0… in TestGetSetDateAPI()
750 ucal_close(caldef); in TestGetSetDateAPI()