Home
last modified time | relevance | path

Searched refs:tempCal (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp289 Calendar * tempCal = cal.clone(); in parse() local
292 tempCal->setTime(Calendar::getNow(),status); in parse()
293 tempCal->add(UCAL_DATE,fDates[n].offset, status); in parse()
296 delete tempCal; in parse()
301 fDateTimeFormatter->format(*tempCal, dateString, fPos); in parse()
306 delete tempCal; in parse()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c964 UCalendar* tempCal = 0; in TestCalendarDateParse() local
988 tempCal = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &ec); in TestCalendarDateParse()
989 ucal_setMillis(tempCal, 0, &ec); in TestCalendarDateParse()
990 ucal_setDateTime(tempCal, startCentury + twoDigitCenturyStart, UCAL_JANUARY, 1, 0, 0, 0, &ec); in TestCalendarDateParse()
991 udat_set2DigitYearStart(simpleDateFormat, ucal_getMillis(tempCal, &ec), &ec); in TestCalendarDateParse()
1029 udat_close(tempCal); in TestCalendarDateParse()