/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | IslamicCalendar.java | 707 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 713 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetMonthLength() 715 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength() 719 month = 12*(extendedYear-1) + month; in handleGetMonthLength() 722 … int idx = (extendedYear - UMALQURA_YEAR_START); // calculate year offset into bit map array in handleGetMonthLength() 735 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 739 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetYearLength() 740 length = 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength() 742 int month = 12*(extendedYear-1); in handleGetYearLength() 746 length += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
|
D | JapaneseCalendar.java | 227 protected int getDefaultMonthInYear(int extendedYear) in getDefaultMonthInYear() argument 233 if(extendedYear == ERAS[era*3]) { in getDefaultMonthInYear() 237 return super.getDefaultMonthInYear(extendedYear); in getDefaultMonthInYear() 250 protected int getDefaultDayInMonth(int extendedYear, int month) { in getDefaultDayInMonth() argument 253 if(extendedYear == ERAS[era*3]) { // if it is year 1.. in getDefaultDayInMonth() 259 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 | 302 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 303 return super.handleGetYearLength(extendedYear); in handleGetYearLength() 309 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 312 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength() 316 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
|
D | HebrewCalendar.java | 690 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 698 month += monthsInYear(--extendedYear); in handleGetMonthLength() 702 month -= monthsInYear(extendedYear++); in handleGetMonthLength() 709 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 | 698 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 703 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 707 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
|
D | ChineseCalendar.java | 449 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 450 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 | 144 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()
|
D | indiancal.h | 210 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 216 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
|
D | persncal.h | 204 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 210 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
|
D | islamcal.h | 302 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 308 virtual int32_t handleGetYearLength(int32_t extendedYear) const;
|
D | hebrwcal.cpp | 496 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()
|
D | hebrwcal.h | 313 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
|
D | chnsecal.h | 164 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 | 731 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 737 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetMonthLength() 739 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength() 743 month = 12*(extendedYear-1) + month; in handleGetMonthLength() 746 … int idx = (extendedYear - UMALQURA_YEAR_START); // calculate year offset into bit map array in handleGetMonthLength() 760 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 764 …|| (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR_START || extendedY… in handleGetYearLength() 765 length = 354 + (civilLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength() 767 int month = 12*(extendedYear-1); in handleGetYearLength() 771 length += handleGetMonthLength(extendedYear, i); in handleGetYearLength()
|
D | JapaneseCalendar.java | 239 protected int getDefaultMonthInYear(int extendedYear) in getDefaultMonthInYear() argument 245 if(extendedYear == ERAS[era*3]) { in getDefaultMonthInYear() 249 return super.getDefaultMonthInYear(extendedYear); in getDefaultMonthInYear() 263 protected int getDefaultDayInMonth(int extendedYear, int month) { in getDefaultDayInMonth() argument 266 if(extendedYear == ERAS[era*3]) { // if it is year 1.. in getDefaultDayInMonth() 272 return super.getDefaultDayInMonth(extendedYear, month); in getDefaultDayInMonth()
|
D | PersianCalendar.java | 330 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 335 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 339 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 349 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 350 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
|
D | IndianCalendar.java | 327 protected int handleGetYearLength(int extendedYear) { in handleGetYearLength() argument 328 return super.handleGetYearLength(extendedYear); in handleGetYearLength() 335 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 338 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength() 342 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
|
D | HebrewCalendar.java | 715 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 723 month += monthsInYear(--extendedYear); in handleGetMonthLength() 727 month -= monthsInYear(extendedYear++); in handleGetMonthLength() 734 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
|
D | CECalendar.java | 198 protected int handleGetMonthLength(int extendedYear, int month) in handleGetMonthLength() argument 214 return ((extendedYear % 4) / 3) + 5; in handleGetMonthLength()
|
D | GregorianCalendar.java | 721 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 726 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength() 730 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
|
D | ChineseCalendar.java | 462 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument 463 int thisStart = handleComputeMonthStart(extendedYear, month, true) - in handleGetMonthLength()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | gregocal.h | 528 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
|