/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | IslamicCalendar.java | 712 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 718 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetMonthLength() 720 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength() 725 month = 12*(extendedYear-1) + month; in handleGetMonthLength() 729 … int idx = (extendedYear - UMALQURA_YEAR_START); // calculate year offset into bit map array in handleGetMonthLength() 745 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 749 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetYearLength() 750 length = 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength() 752 int month = 12*(extendedYear-1); in handleGetYearLength() 756 length += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
|
D | JapaneseCalendar.java | 292 protected int getDefaultMonthInYear(int extendedYear) { in getDefaultMonthInYear() argument 298 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear() 302 return super.getDefaultMonthInYear(extendedYear); in getDefaultMonthInYear() 316 protected int getDefaultDayInMonth(int extendedYear, int month) { in getDefaultDayInMonth() argument 320 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth() 326 return super.getDefaultDayInMonth(extendedYear, month); in getDefaultDayInMonth()
|
D | PersianCalendar.java | 335 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 340 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 344 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 354 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 355 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
|
D | IndianCalendar.java | 304 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 305 return super.handleGetYearLength(extendedYear); in handleGetYearLength() 311 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 314 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength() 318 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
|
D | HebrewCalendar.java | 692 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 700 month += monthsInYear(--extendedYear); in handleGetMonthLength() 704 month -= monthsInYear(extendedYear++); in handleGetMonthLength() 711 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
|
D | CECalendar.java | 202 protected int handleGetMonthLength(int extendedYear, int month) in handleGetMonthLength() argument 218 return ((extendedYear % 4) / 3) + 5; in handleGetMonthLength()
|
D | GregorianCalendar.java | 700 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 705 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 709 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
|
D | ChineseCalendar.java | 451 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 452 int thisStart = handleComputeMonthStart(extendedYear, month, true) - in handleGetMonthLength()
|
/external/icu/icu4c/source/i18n/ |
D | islamcal.cpp | 507 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument 512 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetMonthLength() 514 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength() 518 month = 12*(extendedYear-1) + month; in handleGetMonthLength() 521 length = getUmalqura_MonthLength(extendedYear - UMALQURA_YEAR_START, month); in handleGetMonthLength() 530 int32_t IslamicCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength() 532 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetYearLength() 533 return 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength() 535 int32_t month = 12*(extendedYear-1); in handleGetYearLength() 540 len += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
|
D | persncal.cpp | 146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument 150 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength() 153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength() 159 int32_t PersianCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength() 160 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
|
D | indiancal.h | 212 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 218 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
|
D | persncal.h | 206 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 212 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
|
D | islamcal.h | 304 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 310 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
|
D | hebrwcal.cpp | 499 int32_t HebrewCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument 507 month += monthsInYear(--extendedYear); in handleGetMonthLength() 511 month -= monthsInYear(extendedYear++); in handleGetMonthLength() 518 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
|
D | hebrwcal.h | 315 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
|
D | chnsecal.h | 166 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | IslamicCalendar.java | 741 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 747 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetMonthLength() 749 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength() 754 month = 12*(extendedYear-1) + month; in handleGetMonthLength() 758 … int idx = (extendedYear - UMALQURA_YEAR_START); // calculate year offset into bit map array in handleGetMonthLength() 775 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 779 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetYearLength() 780 length = 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength() 782 int month = 12*(extendedYear-1); in handleGetYearLength() 786 length += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
|
D | JapaneseCalendar.java | 304 protected int getDefaultMonthInYear(int extendedYear) { in getDefaultMonthInYear() argument 310 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear() 314 return super.getDefaultMonthInYear(extendedYear); in getDefaultMonthInYear() 329 protected int getDefaultDayInMonth(int extendedYear, int month) { in getDefaultDayInMonth() argument 333 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth() 339 return super.getDefaultDayInMonth(extendedYear, month); in getDefaultDayInMonth()
|
D | PersianCalendar.java | 332 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 337 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 341 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 351 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 352 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
|
D | IndianCalendar.java | 329 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 330 return super.handleGetYearLength(extendedYear); in handleGetYearLength() 337 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 340 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength() 344 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
|
D | HebrewCalendar.java | 717 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 725 month += monthsInYear(--extendedYear); in handleGetMonthLength() 729 month -= monthsInYear(extendedYear++); in handleGetMonthLength() 736 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
|
D | CECalendar.java | 200 protected int handleGetMonthLength(int extendedYear, int month) in handleGetMonthLength() argument 216 return ((extendedYear % 4) / 3) + 5; in handleGetMonthLength()
|
D | GregorianCalendar.java | 723 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 728 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 732 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
|
D | ChineseCalendar.java | 464 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 465 int thisStart = handleComputeMonthStart(extendedYear, month, true) - in handleGetMonthLength()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | gregocal.h | 534 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
|