Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java297 Calendar nowCal = (Calendar)until.clone(); in dayDifference() local
299 nowCal.clear(); in dayDifference()
300 nowCal.setTime(nowDate); in dayDifference()
301 int dayDiff = until.get(Calendar.JULIAN_DAY) - nowCal.get(Calendar.JULIAN_DAY); in dayDifference()
/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp602 Calendar *nowCal = cal.clone(); in dayDifference() local
603 nowCal->setTime(Calendar::getNow(), status); in dayDifference()
608 int32_t dayDiff = cal.get(UCAL_JULIAN_DAY, status) - nowCal->get(UCAL_JULIAN_DAY, status); in dayDifference()
610 delete nowCal; in dayDifference()