Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp287 Calendar * tempCal = cal.clone(); in parse() local
290 tempCal->setTime(Calendar::getNow(),status); in parse()
291 tempCal->add(UCAL_DATE,fDates[n].offset, status); in parse()
294 delete tempCal; in parse()
299 fDateTimeFormatter->format(*tempCal, dateString, fPos); in parse()
304 delete tempCal; in parse()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c968 UCalendar* tempCal = 0; in TestCalendarDateParse() local
992 tempCal = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &ec); in TestCalendarDateParse()
993 ucal_setMillis(tempCal, 0, &ec); in TestCalendarDateParse()
994 ucal_setDateTime(tempCal, startCentury + twoDigitCenturyStart, UCAL_JANUARY, 1, 0, 0, 0, &ec); in TestCalendarDateParse()
995 udat_set2DigitYearStart(simpleDateFormat, ucal_getMillis(tempCal, &ec), &ec); in TestCalendarDateParse()
1033 udat_close(tempCal); in TestCalendarDateParse()