/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | IslamicCalendar.java | 585 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()
|
D | HebrewCalendar.java | 784 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/ |
D | IslamicCalendar.java | 612 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()
|
D | HebrewCalendar.java | 810 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/ |
D | islamcal.cpp | 393 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()
|
D | persncal.h | 188 int32_t monthStart(int32_t year, int32_t month) const;
|
D | islamcal.h | 254 int32_t monthStart(int32_t year, int32_t month) const;
|
D | persncal.cpp | 132 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/ |
D | IBMCalendarTest.java | 1020 int monthStart = handleComputeMonthStart(2016, 4, false); in TestCoverage() local 1021 assertEquals("handleComputeMonthStart false", 735840, monthStart); in TestCoverage() 1022 monthStart = handleComputeMonthStart(2016, 4, true); in TestCoverage() 1023 assertEquals("handleComputeMonthStart true", 735964, monthStart); in TestCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1017 int monthStart = handleComputeMonthStart(2016, 4, false); in TestCoverage() local 1018 assertEquals("handleComputeMonthStart false", 735840, monthStart); in TestCoverage() 1019 monthStart = handleComputeMonthStart(2016, 4, true); in TestCoverage() 1020 assertEquals("handleComputeMonthStart true", 735964, monthStart); in TestCoverage()
|