• Home
  • Raw
  • Download

Lines Matching refs:datdef

114     UDateFormat *datdef = 0;  in TestCalendar()  local
359 datdef=udat_open(UDAT_FULL,UDAT_FULL ,NULL, NULL, 0,NULL,0,&status); in TestCalendar()
369 …S: The current date and time fetched is %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datdef, now)) ); in TestCalendar()
508 udat_close(datdef); in TestCalendar()
523 UDateFormat *datdef = 0; in TestGetSetDateAPI() local
542 datdef=udat_open(UDAT_DEFAULT,UDAT_DEFAULT ,"en_US",fgGMTID,-1,NULL,0, &status); in TestGetSetDateAPI()
549 udat_close(datdef); in TestGetSetDateAPI()
569 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
718 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
727 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); in TestGetSetDateAPI()
729 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3); in TestGetSetDateAPI()
731 verify1("2000 3rd day of May is :", caldef, datdef, 2000, UCAL_MAY, 3); in TestGetSetDateAPI()
733 verify1("1999 32th day of August is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1); in TestGetSetDateAPI()
735 verify1("1999 0th day of March is :", caldef, datdef, 1999, UCAL_FEBRUARY, 28); in TestGetSetDateAPI()
749 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
759 …verify2("1999 10th day of October at 6:45:30 is :", caldef, datdef, 1999, UCAL_OCTOBER, 10, 6, 4… in TestGetSetDateAPI()
761 …verify2("1999 3rd day of March at 15:10:55 is :", caldef, datdef, 1999, UCAL_MARCH, 3, 3, 10, 55… in TestGetSetDateAPI()
763 … verify2("1999 3rd day of May at 25:30:45 is :", caldef, datdef, 1999, UCAL_MAY, 4, 1, 30, 45, 0); in TestGetSetDateAPI()
765 …verify2("1999 32th day of August at 22:65:40 is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1, 11, 5… in TestGetSetDateAPI()
767 … verify2("1999 12th day of March at 0:0:0 is :", caldef, datdef, 1999, UCAL_MARCH, 12, 0, 0, 0, 0); in TestGetSetDateAPI()
769 …verify2("1999 12th day of March is at -10:-10:0 :", caldef, datdef, 1999, UCAL_MARCH, 11, 1, 50, 0… in TestGetSetDateAPI()
777 udat_close(datdef); in TestGetSetDateAPI()
788 UDateFormat *datdef = 0; in TestFieldGetSet() local
800 datdef=udat_open(UDAT_SHORT,UDAT_SHORT ,NULL,fgGMTID,-1,NULL, 0, &status); in TestFieldGetSet()
828 verify1("1997 third day of June = ", cal, datdef, 1997, UCAL_JUNE, 3); in TestFieldGetSet()
834 verify1("1997 first Tuesday in June = ", cal, datdef, 1997, UCAL_JUNE, 3); in TestFieldGetSet()
840 verify1("1997 last Tuesday in June = ", cal, datdef,1997, UCAL_JUNE, 24); in TestFieldGetSet()
860 verify1("1997 Tuesday in week 1 of June = ", cal,datdef, 1997, UCAL_JUNE, 3); in TestFieldGetSet()
866 verify1("1997 Tuesday in week 5 of June = ", cal,datdef, 1997, UCAL_JULY, 1); in TestFieldGetSet()
885 verify1("1997 Tuesday in week 1 of year = ", cal, datdef,1996, UCAL_DECEMBER, 31); in TestFieldGetSet()
890 verify1("1997 Tuesday in week 10 of year = ", cal,datdef, 1997, UCAL_MARCH, 4); in TestFieldGetSet()
894 verify1("1999 1st day of the year =", cal, datdef, 1999, UCAL_JANUARY, 1); in TestFieldGetSet()
906 verify1("1999 -3th month should be", cal, datdef, 1998, UCAL_OCTOBER, 1); in TestFieldGetSet()
923 udat_close(datdef); in TestFieldGetSet()