/external/icu/icu4c/source/i18n/ |
D | islamcal.cpp | 509 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength() argument 514 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetMonthLength() 516 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength() 520 month = 12*(extendedYear-1) + month; in handleGetMonthLength() 523 length = getUmalqura_MonthLength(extendedYear - UMALQURA_YEAR_START, month); in handleGetMonthLength() 532 int32_t IslamicCalendar::handleGetYearLength(int32_t extendedYear) const { in handleGetYearLength() 534 … (cType == UMALQURA && (extendedYear<UMALQURA_YEAR_START || extendedYear>UMALQURA_YEAR_END)) ) { in handleGetYearLength() 535 return 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength() 537 int32_t month = 12*(extendedYear-1); in handleGetYearLength() 542 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/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 | 283 protected int getDefaultMonthInYear(int extendedYear) { in getDefaultMonthInYear() argument 289 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear() 293 return super.getDefaultMonthInYear(extendedYear); in getDefaultMonthInYear() 307 protected int getDefaultDayInMonth(int extendedYear, int month) { in getDefaultDayInMonth() argument 311 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth() 317 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/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 | 295 protected int getDefaultMonthInYear(int extendedYear) { in getDefaultMonthInYear() argument 301 if (extendedYear == eraStart[0]) { in getDefaultMonthInYear() 305 return super.getDefaultMonthInYear(extendedYear); in getDefaultMonthInYear() 320 protected int getDefaultDayInMonth(int extendedYear, int month) { in getDefaultDayInMonth() argument 324 if (extendedYear == eraStart[0]) { // if it is year 1.. in getDefaultDayInMonth() 330 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 | 530 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
|