Home
last modified time | relevance | path

Searched refs:fieldDifference (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/test/intltest/
Dcalregts.cpp2215 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438()
2216 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438()
2217 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438()
2227 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438()
2228 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438()
2229 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438()
2331 int32_t y = cal->fieldDifference(date2004, UCAL_YEAR, ec); in TestLeapFieldDifference()
2332 int32_t d = cal->fieldDifference(date2004, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()
2344 y = cal->fieldDifference(date2000, UCAL_YEAR, ec); in TestLeapFieldDifference()
2345 d = cal->fieldDifference(date2000, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()
[all …]
/external/icu4c/i18n/unicode/
Dcalendar.h665 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status);
722 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
/external/icu4c/i18n/
Dreldtfmt.cpp309 int32_t dayDiff = nowCal->fieldDifference(cal.getTime(status), Calendar::DATE, status); in dayDifference()
Dcalendar.cpp1782 int32_t Calendar::fieldDifference(UDate when, EDateFields field, UErrorCode& status) { in fieldDifference() function in Calendar
1783 return fieldDifference(when, (UCalendarDateFields) field, status); in fieldDifference()
1786 int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UErrorCode& ec) { in fieldDifference() function in Calendar