Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java521 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()
522 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()
529 y = cal.fieldDifference(date2000, Calendar.YEAR); in TestLeapFieldDifference()
530 d = cal.fieldDifference(date2000, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()
541 d = cal.fieldDifference(ayl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference()
543 int d2 = cal.fieldDifference(asl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference()
1557 yDf = ucal.fieldDifference(targetDate, YEAR); in TestFieldDifference()
1558 MDf = ucal.fieldDifference(targetDate, MONTH); in TestFieldDifference()
1559 dDf = ucal.fieldDifference(targetDate, DATE); in TestFieldDifference()
1560 HDf = ucal.fieldDifference(targetDate, HOUR); in TestFieldDifference()
[all …]
DCalendarRegressionTest.java1793 int dy = cal.fieldDifference(date2, Calendar.YEAR);
1794 int dm = cal.fieldDifference(date2, Calendar.MONTH);
1795 int dd = cal.fieldDifference(date2, Calendar.DATE);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java518 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()
519 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()
526 y = cal.fieldDifference(date2000, Calendar.YEAR); in TestLeapFieldDifference()
527 d = cal.fieldDifference(date2000, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()
538 d = cal.fieldDifference(ayl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference()
540 int d2 = cal.fieldDifference(asl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference()
1554 yDf = ucal.fieldDifference(targetDate, YEAR); in TestFieldDifference()
1555 MDf = ucal.fieldDifference(targetDate, MONTH); in TestFieldDifference()
1556 dDf = ucal.fieldDifference(targetDate, DATE); in TestFieldDifference()
1557 HDf = ucal.fieldDifference(targetDate, HOUR); in TestFieldDifference()
[all …]
DCalendarRegressionTest.java1790 int dy = cal.fieldDifference(date2, Calendar.YEAR);
1791 int dm = cal.fieldDifference(date2, Calendar.MONTH);
1792 int dd = cal.fieldDifference(date2, Calendar.DATE);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java1085 int fieldDifference = 1; in getBestSkeleton() local
1093 fieldDifference = -1; in getBestSkeleton()
1096 fieldDifference = -1; in getBestSkeleton()
1108 bestFieldDifference = fieldDifference; in getBestSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java1107 int fieldDifference = 1; in getBestSkeleton() local
1115 fieldDifference = -1; in getBestSkeleton()
1118 fieldDifference = -1; in getBestSkeleton()
1130 bestFieldDifference = fieldDifference; in getBestSkeleton()
/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp612 int8_t fieldDifference = 1; in getBestSkeleton() local
620 fieldDifference = -1; in getBestSkeleton()
623 fieldDifference = -1; in getBestSkeleton()
637 bestMatchDistanceInfo = fieldDifference; in getBestSkeleton()
Ducal.cpp636 return ((Calendar*)cal)->fieldDifference(target, field, *status); in ucal_getFieldDifference()
Dcalendar.cpp2270 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
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp2319 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438()
2320 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438()
2321 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438()
2331 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438()
2332 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438()
2333 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438()
2511 int32_t y = cal->fieldDifference(date2004, UCAL_YEAR, ec); in TestLeapFieldDifference()
2512 int32_t d = cal->fieldDifference(date2004, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()
2524 y = cal->fieldDifference(date2000, UCAL_YEAR, ec); in TestLeapFieldDifference()
2525 d = cal->fieldDifference(date2000, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dcalendar.h756 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status);
813 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCalendarTest.java386 assertEquals(-5, cal.fieldDifference(date, Calendar.DAY_OF_MONTH)); in testFieldDifference()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java1921 public int fieldDifference(Date when, int field) { in fieldDifference() method in Calendar
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java3916 public int fieldDifference(Date when, int field) { in fieldDifference() method in Calendar
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java4019 public int fieldDifference(Date when, int field) { in fieldDifference() method in Calendar
/external/icu/icu4j/tools/build/
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j59.api3.gz
Dicu4j58.api3.gz
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j62.api3.gz
Dicu4j63.api3.gz