Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DIslamicCalendar.java590 private long monthStart(int year, int month) { in monthStart() method in IslamicCalendar
780 …return (int)(monthStart(eyear, month) + ((cType == CalculationType.ISLAMIC_TBLA)? ASTRONOMICAL_EP… in handleComputeMonthStart()
818 long monthStart; in handleComputeFields() local
833 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1); in handleComputeFields()
835 if ( days - monthStart >= 25 && moonAge(internalGetTimeInMillis()) > 0) { in handleComputeFields()
842 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields()
882 dayOfMonth = (int)(days - monthStart(year, month)) + 1; in handleComputeFields()
885 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()
/third_party/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.java818 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START; in handleComputeFields() local
821 while (dayOfYear > monthStart[month][yearType]) { in handleComputeFields()
825 int dayOfMonth = dayOfYear - monthStart[month][yearType]; in handleComputeFields()
/third_party/flutter/skia/third_party/externals/icu/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
/third_party/icu/icu4c/source/i18n/
Dislamcal.cpp390 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() function in IslamicCalendar
570 return monthStart(eyear, month) + ((cType == TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1; in handleComputeMonthStart()
619 startDate = monthStart(year, month); in handleComputeFields()
653 startDate = monthStart(year, month); in handleComputeFields()
681 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields()
684 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
/third_party/node/deps/icu-small/source/i18n/
Dislamcal.cpp390 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() function in IslamicCalendar
570 return monthStart(eyear, month) + ((cType == TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1; in handleComputeMonthStart()
619 startDate = monthStart(year, month); in handleComputeFields()
653 startDate = monthStart(year, month); in handleComputeFields()
681 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields()
684 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
/third_party/skia/third_party/externals/icu/source/i18n/
Dislamcal.cpp390 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() function in IslamicCalendar
570 return monthStart(eyear, month) + ((cType == TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1; in handleComputeMonthStart()
619 startDate = monthStart(year, month); in handleComputeFields()
653 startDate = monthStart(year, month); in handleComputeFields()
681 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields()
684 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
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DIBMCalendarTest.java1018 int monthStart = handleComputeMonthStart(2016, 4, false); in TestCoverage() local
1019 assertEquals("handleComputeMonthStart false", 735840, monthStart); in TestCoverage()
1020 monthStart = handleComputeMonthStart(2016, 4, true); in TestCoverage()
1021 assertEquals("handleComputeMonthStart true", 735964, monthStart); in TestCoverage()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1018 int monthStart = handleComputeMonthStart(2016, 4, false); in TestCoverage() local
1019 assertEquals("handleComputeMonthStart false", 735840, monthStart); in TestCoverage()
1020 monthStart = handleComputeMonthStart(2016, 4, true); in TestCoverage()
1021 assertEquals("handleComputeMonthStart true", 735964, monthStart); in TestCoverage()