Home
last modified time | relevance | path

Searched refs:monthStart (Results 1 – 10 of 10) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DIslamicCalendar.java585 private long monthStart(int year, int month) { in monthStart() method in IslamicCalendar
775 …return (int)(monthStart(eyear, month) + ((cType == CalculationType.ISLAMIC_TBLA)? ASTRONOMICAL_EP… in handleComputeMonthStart()
813 long monthStart; in handleComputeFields() local
828 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1); in handleComputeFields()
830 if ( days - monthStart >= 25 && moonAge(internalGetTimeInMillis()) > 0) { in handleComputeFields()
837 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields()
877 dayOfMonth = (int)(days - monthStart(year, month)) + 1; in handleComputeFields()
880 dayOfYear = (int)(days - monthStart(year, 0) + 1); in handleComputeFields()
DHebrewCalendar.java784 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START; in handleComputeFields() local
787 while (dayOfYear > monthStart[month][yearType]) { in handleComputeFields()
791 int dayOfMonth = dayOfYear - monthStart[month][yearType]; in handleComputeFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIslamicCalendar.java612 private long monthStart(int year, int month) { in monthStart() method in IslamicCalendar
806 …return (int)(monthStart(eyear, month) + ((cType == CalculationType.ISLAMIC_TBLA)? ASTRONOMICAL_EP… in handleComputeMonthStart()
846 long monthStart; in handleComputeFields() local
861 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1); in handleComputeFields()
863 if ( days - monthStart >= 25 && moonAge(internalGetTimeInMillis()) > 0) { in handleComputeFields()
870 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields()
910 dayOfMonth = (int)(days - monthStart(year, month)) + 1; in handleComputeFields()
913 dayOfYear = (int)(days - monthStart(year, 0) + 1); in handleComputeFields()
DHebrewCalendar.java810 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START; in handleComputeFields() local
813 while (dayOfYear > monthStart[month][yearType]) { in handleComputeFields()
817 int dayOfMonth = dayOfYear - monthStart[month][yearType]; in handleComputeFields()
/external/icu/icu4c/source/i18n/
Dislamcal.cpp393 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() function in IslamicCalendar
571 return monthStart(eyear, month) + ((cType == TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1; in handleComputeMonthStart()
620 startDate = monthStart(year, month); in handleComputeFields()
653 startDate = monthStart(year, month); in handleComputeFields()
682 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields()
685 dayOfYear = (days - monthStart(year, 0)) + 1; in handleComputeFields()
Dpersncal.h188 int32_t monthStart(int32_t year, int32_t month) const;
Dislamcal.h254 int32_t monthStart(int32_t year, int32_t month) const;
Dpersncal.cpp132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() function in PersianCalendar
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java1015 int monthStart = handleComputeMonthStart(2016, 4, false); in TestCoverage() local
1016 assertEquals("handleComputeMonthStart false", 735840, monthStart); in TestCoverage()
1017 monthStart = handleComputeMonthStart(2016, 4, true); in TestCoverage()
1018 assertEquals("handleComputeMonthStart true", 735964, monthStart); in TestCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1014 int monthStart = handleComputeMonthStart(2016, 4, false); in TestCoverage() local
1015 assertEquals("handleComputeMonthStart false", 735840, monthStart); in TestCoverage()
1016 monthStart = handleComputeMonthStart(2016, 4, true); in TestCoverage()
1017 assertEquals("handleComputeMonthStart true", 735964, monthStart); in TestCoverage()