Home
last modified time | relevance | path

Searched refs:year2 (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCompatibilityTest.java189 int year2, month2, dom2; in TestMapping() local
200 year2 = cal.get(Calendar.YEAR); in TestMapping()
206 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
207 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
221 year2 = cal.get(Calendar.YEAR); in TestMapping()
227 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
228 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
255 int year2 = cal.get(Calendar.YEAR); in auxMapping() local
258 if (y != year2 || m != month2 || dom2 != d) in auxMapping()
260 year2 + "-" + (month2+1) + "-" + dom2); in auxMapping()
DCalendarRegression.java1079 int year2 = calendar.get(Calendar.YEAR); in Test4145158() local
1082 if (year1 == year2 && era1 == era2) { in Test4145158()
2085 int year2 = c.get(Calendar.YEAR);
2087 if(year1 != year2) {
2088 errln("Error: adjusted day of week, and year jumped from " + year1 + " to " + year2);
2090 logln("Year remained " + year2 + " - PASS.");
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCompatibilityTest.java193 int year2, month2, dom2; in TestMapping() local
204 year2 = cal.get(Calendar.YEAR); in TestMapping()
210 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
211 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
225 year2 = cal.get(Calendar.YEAR); in TestMapping()
231 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
232 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
259 int year2 = cal.get(Calendar.YEAR); in auxMapping() local
262 if (y != year2 || m != month2 || dom2 != d) in auxMapping()
264 year2 + "-" + (month2+1) + "-" + dom2); in auxMapping()
DCalendarRegression.java1083 int year2 = calendar.get(Calendar.YEAR); in Test4145158() local
1086 if (year1 == year2 && era1 == era2) { in Test4145158()
2089 int year2 = c.get(Calendar.YEAR);
2091 if(year1 != year2) {
2092 errln("Error: adjusted day of week, and year jumped from " + year1 + " to " + year2);
2094 logln("Year remained " + year2 + " - PASS.");
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1586 int32_t year2 = calendar->get(UCAL_YEAR,status); in test4145158() local
1589 if (year1 == year2 && era1 == era2) { in test4145158()