Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCompatibilityTest.java197 int year2, month2, dom2; in TestMapping() local
208 year2 = cal.get(Calendar.YEAR); in TestMapping()
214 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
215 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
229 year2 = cal.get(Calendar.YEAR); in TestMapping()
235 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
236 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
263 int year2 = cal.get(Calendar.YEAR); in auxMapping() local
266 if (y != year2 || m != month2 || dom2 != d) in auxMapping()
268 year2 + "-" + (month2+1) + "-" + dom2); in auxMapping()
DCalendarRegressionTest.java1117 int year2 = calendar.get(Calendar.YEAR); in Test4145158() local
1120 if (year1 == year2 && era1 == era2) { in Test4145158()
2143 int year2 = c.get(Calendar.YEAR);
2145 if(year1 != year2) {
2146 errln("Error: adjusted day of week, and year jumped from " + year1 + " to " + year2);
2148 logln("Year remained " + year2 + " - PASS.");
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCompatibilityTest.java194 int year2, month2, dom2; in TestMapping() local
205 year2 = cal.get(Calendar.YEAR); in TestMapping()
211 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
212 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
226 year2 = cal.get(Calendar.YEAR); in TestMapping()
232 year2 + "-" + (month2+1-Calendar.JANUARY) + "-" + dom2; in TestMapping()
233 if (delta != 0 || year != year2 || month != month2 || in TestMapping()
260 int year2 = cal.get(Calendar.YEAR); in auxMapping() local
263 if (y != year2 || m != month2 || dom2 != d) in auxMapping()
265 year2 + "-" + (month2+1) + "-" + dom2); in auxMapping()
DCalendarRegressionTest.java1114 int year2 = calendar.get(Calendar.YEAR); in Test4145158() local
1117 if (year1 == year2 && era1 == era2) { in Test4145158()
2140 int year2 = c.get(Calendar.YEAR);
2142 if(year1 != year2) {
2143 errln("Error: adjusted day of week, and year jumped from " + year1 + " to " + year2);
2145 logln("Year remained " + year2 + " - PASS.");
/external/rust/crates/chrono/src/naive/
Ddate.rs964 let year2 = rhs.year(); in signed_duration_since() localVariable
966 let (year2_div_400, year2_mod_400) = div_mod_floor(year2, 400); in signed_duration_since()
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1631 int32_t year2 = calendar->get(UCAL_YEAR,status); in test4145158() local
1634 if (year1 == year2 && era1 == era2) { in test4145158()