Home
last modified time | relevance | path

Searched refs:leapMonth (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DIndianCalendar.java334 int leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
345leapMonth = isGregorianLeap(gregorianDay[0] - 1) ? 31 : 30; // Days in leapMonth this year, previo… in handleComputeFields()
346 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
348 leapMonth = isGregorianLeap(gregorianDay[0]) ? 31 : 30; // Days in leapMonth this year in handleComputeFields()
352 if (yday < leapMonth) { in handleComputeFields()
356 mday = yday - leapMonth; in handleComputeFields()
440 int leapMonth, gyear, m; in IndianToJD() local
447 leapMonth = 31; in IndianToJD()
450 leapMonth = 30; in IndianToJD()
457 jd = start + leapMonth; in IndianToJD()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java361 int leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
372leapMonth = isGregorianLeap(gregorianDay[0] - 1) ? 31 : 30; // Days in leapMonth this year, previo… in handleComputeFields()
373 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
375 leapMonth = isGregorianLeap(gregorianDay[0]) ? 31 : 30; // Days in leapMonth this year in handleComputeFields()
379 if (yday < leapMonth) { in handleComputeFields()
383 mday = yday - leapMonth; in handleComputeFields()
469 int leapMonth, gyear, m; in IndianToJD() local
476 leapMonth = 31; in IndianToJD()
479 leapMonth = 30; in IndianToJD()
486 jd = start + leapMonth; in IndianToJD()
/external/icu/icu4c/source/i18n/
Dindiancal.cpp198 int32_t leapMonth, gyear, m; in IndianToJD() local
205 leapMonth = 31; in IndianToJD()
209 leapMonth = 30; in IndianToJD()
216 jd = start + leapMonth; in IndianToJD()
294 int32_t leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
306leapMonth = isGregorianLeap(gregorianYear - 1) ? 31 : 30; // Days in leapMonth this year, previous… in handleComputeFields()
307 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
309 leapMonth = isGregorianLeap(gregorianYear) ? 31 : 30; // Days in leapMonth this year in handleComputeFields()
313 if (yday < leapMonth) { in handleComputeFields()
317 mday = yday - leapMonth; in handleComputeFields()
/external/icu/icu4c/source/test/intltest/
Dcallimts.h50 void doTheoreticalLimitsTest(Calendar& cal, UBool leapMonth);
Dcallimts.cpp231 CalendarLimitTest::doTheoreticalLimitsTest(Calendar& cal, UBool leapMonth) { in doTheoreticalLimitsTest() argument
251 if (!leapMonth) { in doTheoreticalLimitsTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarTestFmwk.java357 protected void doTheoreticalLimitsTest(Calendar cal, boolean leapMonth) { in doTheoreticalLimitsTest() argument
375 if (!leapMonth) { in doTheoreticalLimitsTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarTestFmwk.java356 protected void doTheoreticalLimitsTest(Calendar cal, boolean leapMonth) { in doTheoreticalLimitsTest() argument
374 if (!leapMonth) { in doTheoreticalLimitsTest()