Home
last modified time | relevance | path

Searched refs:datdef (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dccaltst.c103 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()
[all …]
Dcdtrgtst.h47 UChar* myFormatit(UDateFormat* datdef, UDate d1);
Dcdtrgtst.c602 UChar* myFormatit(UDateFormat* datdef, UDate d1) in myFormatit() argument
609 resultlengthneeded=udat_format(datdef, d1, NULL, resultlength, NULL, &status); in myFormatit()
616 udat_format(datdef, d1, result1, resultlength, NULL, &status); in myFormatit()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dccaltst.c102 UDateFormat *datdef = 0; in TestCalendar() local
335 datdef=udat_open(UDAT_FULL,UDAT_FULL ,NULL, NULL, 0,NULL,0,&status); in TestCalendar()
340 …S: The current date and time fetched is %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datdef, now)) ); in TestCalendar()
479 udat_close(datdef); in TestCalendar()
494 UDateFormat *datdef = 0; in TestGetSetDateAPI() local
513 datdef=udat_open(UDAT_DEFAULT,UDAT_DEFAULT ,"en_US",fgGMTID,-1,NULL,0, &status); in TestGetSetDateAPI()
536 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
685 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
694 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); in TestGetSetDateAPI()
696 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3); in TestGetSetDateAPI()
[all …]
Dcdtrgtst.h47 UChar* myFormatit(UDateFormat* datdef, UDate d1);
Dcdtrgtst.c602 UChar* myFormatit(UDateFormat* datdef, UDate d1) in myFormatit() argument
609 resultlengthneeded=udat_format(datdef, d1, NULL, resultlength, NULL, &status); in myFormatit()
616 udat_format(datdef, d1, result1, resultlength, NULL, &status); in myFormatit()