/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 519 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference() 520 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference() 527 y = cal.fieldDifference(date2000, Calendar.YEAR); in TestLeapFieldDifference() 528 d = cal.fieldDifference(date2000, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference() 539 d = cal.fieldDifference(ayl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference() 541 int d2 = cal.fieldDifference(asl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference() 1551 yDf = ucal.fieldDifference(targetDate, YEAR); in TestFieldDifference() 1552 MDf = ucal.fieldDifference(targetDate, MONTH); in TestFieldDifference() 1553 dDf = ucal.fieldDifference(targetDate, DATE); in TestFieldDifference() 1554 HDf = ucal.fieldDifference(targetDate, HOUR); in TestFieldDifference() [all …]
|
D | CalendarRegressionTest.java | 1793 int dy = cal.fieldDifference(date2, Calendar.YEAR); 1794 int dm = cal.fieldDifference(date2, Calendar.MONTH); 1795 int dd = cal.fieldDifference(date2, Calendar.DATE);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 519 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference() 520 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference() 527 y = cal.fieldDifference(date2000, Calendar.YEAR); in TestLeapFieldDifference() 528 d = cal.fieldDifference(date2000, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference() 539 d = cal.fieldDifference(ayl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference() 541 int d2 = cal.fieldDifference(asl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference() 1551 yDf = ucal.fieldDifference(targetDate, YEAR); in TestFieldDifference() 1552 MDf = ucal.fieldDifference(targetDate, MONTH); in TestFieldDifference() 1553 dDf = ucal.fieldDifference(targetDate, DATE); in TestFieldDifference() 1554 HDf = ucal.fieldDifference(targetDate, HOUR); in TestFieldDifference() [all …]
|
D | CalendarRegressionTest.java | 1790 int dy = cal.fieldDifference(date2, Calendar.YEAR); 1791 int dm = cal.fieldDifference(date2, Calendar.MONTH); 1792 int dd = cal.fieldDifference(date2, Calendar.DATE);
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | DateIntervalInfo.java | 1086 int fieldDifference = 1; in getBestSkeleton() local 1094 fieldDifference = -1; in getBestSkeleton() 1097 fieldDifference = -1; in getBestSkeleton() 1109 bestFieldDifference = fieldDifference; in getBestSkeleton()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalInfo.java | 1119 int fieldDifference = 1; in getBestSkeleton() local 1127 fieldDifference = -1; in getBestSkeleton() 1130 fieldDifference = -1; in getBestSkeleton() 1142 bestFieldDifference = fieldDifference; in getBestSkeleton()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | dtitvinf.cpp | 612 int8_t fieldDifference = 1; in getBestSkeleton() local 620 fieldDifference = -1; in getBestSkeleton() 623 fieldDifference = -1; in getBestSkeleton() 637 bestMatchDistanceInfo = fieldDifference; in getBestSkeleton()
|
D | ucal.cpp | 636 return ((Calendar*)cal)->fieldDifference(target, field, *status); in ucal_getFieldDifference()
|
D | calendar.cpp | 2270 int32_t Calendar::fieldDifference(UDate when, EDateFields field, UErrorCode& status) { in fieldDifference() function in Calendar 2271 return fieldDifference(when, (UCalendarDateFields) field, status); in fieldDifference() 2274 int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UErrorCode& ec) { in fieldDifference() function in Calendar
|
/third_party/node/deps/icu-small/source/i18n/ |
D | dtitvinf.cpp | 631 int8_t fieldDifference = 1; in getBestSkeleton() local 639 fieldDifference = -1; in getBestSkeleton() 642 fieldDifference = -1; in getBestSkeleton() 656 bestMatchDistanceInfo = fieldDifference; in getBestSkeleton()
|
D | ucal.cpp | 660 return ((Calendar*)cal)->fieldDifference(target, field, *status); in ucal_getFieldDifference()
|
D | calendar.cpp | 2286 int32_t Calendar::fieldDifference(UDate when, EDateFields field, UErrorCode& status) { in fieldDifference() function in Calendar 2287 return fieldDifference(when, (UCalendarDateFields) field, status); in fieldDifference() 2290 int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UErrorCode& ec) { in fieldDifference() function in Calendar
|
/third_party/icu/docs/userguide/datetime/calendar/ |
D | index.md | 144 `fieldDifference()`. 154 The `fieldDifference()` method is the inverse of the `add()` method. It computes the 156 terms of a specified field. Repeated calls to `fieldDifference()` compute the 159 with the results of `fieldDifference(when, n)`, then the calendar is moved toward 168 int yearDiff = cal.fieldDifference(date, Calendar.YEAR); // yearDiff <= 0 169 int monthDiff = cal.fieldDifference(date, Calendar.MONTH); // monthDiff ;<= 3 171 int dayDiff = cal.fieldDifference(date, Calendar.DAY_OF_MONTH); // dayDiff ;<=19
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | dtitvinf.cpp | 649 int8_t fieldDifference = 1; in getBestSkeleton() local 657 fieldDifference = -1; in getBestSkeleton() 660 fieldDifference = -1; in getBestSkeleton() 674 bestMatchDistanceInfo = fieldDifference; in getBestSkeleton()
|
D | ucal.cpp | 660 return ((Calendar*)cal)->fieldDifference(target, field, *status); in ucal_getFieldDifference()
|
D | calendar.cpp | 2286 int32_t Calendar::fieldDifference(UDate when, EDateFields field, UErrorCode& status) { in fieldDifference() function in Calendar 2287 return fieldDifference(when, (UCalendarDateFields) field, status); in fieldDifference() 2290 int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UErrorCode& ec) { in fieldDifference() function in Calendar
|
/third_party/icu/icu4c/source/i18n/ |
D | dtitvinf.cpp | 649 int8_t fieldDifference = 1; in getBestSkeleton() local 657 fieldDifference = -1; in getBestSkeleton() 660 fieldDifference = -1; in getBestSkeleton() 674 bestMatchDistanceInfo = fieldDifference; in getBestSkeleton()
|
D | ucal.cpp | 660 return ((Calendar*)cal)->fieldDifference(target, field, *status); in ucal_getFieldDifference()
|
D | calendar.cpp | 2286 int32_t Calendar::fieldDifference(UDate when, EDateFields field, UErrorCode& status) { in fieldDifference() function in Calendar 2287 return fieldDifference(when, (UCalendarDateFields) field, status); in fieldDifference() 2290 int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UErrorCode& ec) { in fieldDifference() function in Calendar
|
/third_party/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 2343 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438() 2344 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438() 2345 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438() 2355 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438() 2356 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438() 2357 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438() 2533 int32_t y = cal->fieldDifference(date2004, UCAL_YEAR, ec); in TestLeapFieldDifference() 2534 int32_t d = cal->fieldDifference(date2004, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference() 2546 y = cal->fieldDifference(date2000, UCAL_YEAR, ec); in TestLeapFieldDifference() 2547 d = cal->fieldDifference(date2000, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | calendar.h | 766 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status); 824 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | calendar.h | 766 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status); 824 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | calendar.h | 756 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status); 813 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | calendar.h | 766 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status); 824 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
|
/third_party/boost/libs/locale/src/icu/ |
D | date_time.cpp | 234 int diff = self->fieldDifference(other_time,to_icu(p),err); in difference()
|