Home
last modified time | relevance | path

Searched refs:extendedYear (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/
Dislamcal.cpp438 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
443 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetMonthLength()
445 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength()
449 month = 12*(extendedYear-1) + month; in handleGetMonthLength()
452 length = getUmalqura_MonthLength(extendedYear - UMALQURA_YEAR_START, month); in handleGetMonthLength()
461 int32_t IslamicCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength()
463 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetYearLength()
464 return 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength()
466 int32_t month = 12*(extendedYear-1); in handleGetYearLength()
471 len += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
Dpersncal.cpp144 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
148 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
151 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
157 int32_t PersianCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength()
158 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
Dindiancal.h210 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
216 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
Dpersncal.h204 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
210 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
Dislamcal.h302 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
308 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
Dhebrwcal.cpp496 int32_t HebrewCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
504 month += monthsInYear(--extendedYear); in handleGetMonthLength()
508 month -= monthsInYear(extendedYear++); in handleGetMonthLength()
515 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
Dhebrwcal.h313 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
Dchnsecal.h164 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
Dgregocal.cpp576 int32_t GregorianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const in handleGetMonthLength() argument
581 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
584 return isLeapYear(extendedYear) ? kLeapMonthLength[month] : kMonthLength[month]; in handleGetMonthLength()
Dchnsecal.cpp236 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
237 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - in handleGetMonthLength()
/external/icu/icu4c/source/i18n/
Dislamcal.cpp438 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
443 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetMonthLength()
445 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength()
449 month = 12*(extendedYear-1) + month; in handleGetMonthLength()
452 length = getUmalqura_MonthLength(extendedYear - UMALQURA_YEAR_START, month); in handleGetMonthLength()
461 int32_t IslamicCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength()
463 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetYearLength()
464 return 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength()
466 int32_t month = 12*(extendedYear-1); in handleGetYearLength()
471 len += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
Dpersncal.cpp144 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
148 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
151 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
157 int32_t PersianCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength()
158 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
Dpersncal.h204 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
210 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
Dindiancal.h210 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
216 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
Dislamcal.h302 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
308 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
Dhebrwcal.cpp496 int32_t HebrewCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
504 month += monthsInYear(--extendedYear); in handleGetMonthLength()
508 month -= monthsInYear(extendedYear++); in handleGetMonthLength()
515 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
Dhebrwcal.h313 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
Dchnsecal.h164 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
Dgregocal.cpp576 int32_t GregorianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const in handleGetMonthLength() argument
581 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
584 return isLeapYear(extendedYear) ? kLeapMonthLength[month] : kMonthLength[month]; in handleGetMonthLength()
Dchnsecal.cpp236 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument
237 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - in handleGetMonthLength()
Dcalendar.cpp3479 int32_t Calendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const in handleGetMonthLength() argument
3481 return handleComputeMonthStart(extendedYear, month+1, TRUE) - in handleGetMonthLength()
3482 handleComputeMonthStart(extendedYear, month, TRUE); in handleGetMonthLength()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dgregocal.h528 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
Dcalendar.h1674 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const ;
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h528 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
Dcalendar.h1674 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const ;

12