Lines Matching refs:datdef
103 UDateFormat *datdef = 0; in TestCalendar() local
336 datdef=udat_open(UDAT_FULL,UDAT_FULL ,NULL, NULL, 0,NULL,0,&status); in TestCalendar()
341 …S: The current date and time fetched is %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datdef, now)) ); in TestCalendar()
480 udat_close(datdef); in TestCalendar()
495 UDateFormat *datdef = 0; in TestGetSetDateAPI() local
514 datdef=udat_open(UDAT_DEFAULT,UDAT_DEFAULT ,"en_US",fgGMTID,-1,NULL,0, &status); in TestGetSetDateAPI()
537 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
686 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
695 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); in TestGetSetDateAPI()
697 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3); in TestGetSetDateAPI()
699 verify1("2000 3rd day of May is :", caldef, datdef, 2000, UCAL_MAY, 3); in TestGetSetDateAPI()
701 verify1("1999 32th day of August is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1); in TestGetSetDateAPI()
703 verify1("1999 0th day of March is :", caldef, datdef, 1999, UCAL_FEBRUARY, 28); in TestGetSetDateAPI()
717 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
727 …verify2("1999 10th day of October at 6:45:30 is :", caldef, datdef, 1999, UCAL_OCTOBER, 10, 6, 4… in TestGetSetDateAPI()
729 …verify2("1999 3rd day of March at 15:10:55 is :", caldef, datdef, 1999, UCAL_MARCH, 3, 3, 10, 55… in TestGetSetDateAPI()
731 … verify2("1999 3rd day of May at 25:30:45 is :", caldef, datdef, 1999, UCAL_MAY, 4, 1, 30, 45, 0); in TestGetSetDateAPI()
733 …verify2("1999 32th day of August at 22:65:40 is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1, 11, 5… in TestGetSetDateAPI()
735 … verify2("1999 12th day of March at 0:0:0 is :", caldef, datdef, 1999, UCAL_MARCH, 12, 0, 0, 0, 0); in TestGetSetDateAPI()
737 …verify2("1999 12th day of March is at -10:-10:0 :", caldef, datdef, 1999, UCAL_MARCH, 11, 1, 50, 0… in TestGetSetDateAPI()
745 udat_close(datdef); in TestGetSetDateAPI()
756 UDateFormat *datdef = 0; in TestFieldGetSet() local
768 datdef=udat_open(UDAT_SHORT,UDAT_SHORT ,NULL,fgGMTID,-1,NULL, 0, &status); in TestFieldGetSet()
796 verify1("1997 third day of June = ", cal, datdef, 1997, UCAL_JUNE, 3); in TestFieldGetSet()
802 verify1("1997 first Tuesday in June = ", cal, datdef, 1997, UCAL_JUNE, 3); in TestFieldGetSet()
808 verify1("1997 last Tuesday in June = ", cal, datdef,1997, UCAL_JUNE, 24); in TestFieldGetSet()
828 verify1("1997 Tuesday in week 1 of June = ", cal,datdef, 1997, UCAL_JUNE, 3); in TestFieldGetSet()
834 verify1("1997 Tuesday in week 5 of June = ", cal,datdef, 1997, UCAL_JULY, 1); in TestFieldGetSet()
853 verify1("1997 Tuesday in week 1 of year = ", cal, datdef,1996, UCAL_DECEMBER, 31); in TestFieldGetSet()
858 verify1("1997 Tuesday in week 10 of year = ", cal,datdef, 1997, UCAL_MARCH, 4); in TestFieldGetSet()
862 verify1("1999 1st day of the year =", cal, datdef, 1999, UCAL_JANUARY, 1); in TestFieldGetSet()
874 verify1("1999 -3th month should be", cal, datdef, 1998, UCAL_OCTOBER, 1); in TestFieldGetSet()
891 udat_close(datdef); in TestFieldGetSet()