/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | BuddhistCalendar.java | 199 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 200 return super.handleComputeMonthStart(eyear, month, useMonth);
|
H A D | CECalendar.java | 178 protected int handleComputeMonthStart(int eyear, argument 181 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
|
H A D | PersianCalendar.java | 366 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 371 eyear += floorDivide(month, 12, rem); 375 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33);
|
H A D | GregorianCalendar.java | 712 protected int handleGetYearLength(int eyear) { argument 713 return isLeapYear(eyear) ? 366 : 365; 732 int eyear, month, dayOfMonth, dayOfYear; 738 eyear = getGregorianYear(); 743 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); 745 // Compute the Julian calendar day number for January 1, eyear 746 long january1 = 365*(eyear-1) + floorDivide(eyear-1, 4); 755 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear 823 handleComputeMonthStart(int eyear, int month, boolean useMonth) argument [all...] |
H A D | HebrewCalendar.java | 720 protected int handleGetYearLength(int eyear) { argument 721 return (int)(startOfYear(eyear+1) - startOfYear(eyear)); 818 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 827 month += monthsInYear(--eyear); 831 month -= monthsInYear(eyear++); 834 long day = startOfYear(eyear); 837 if (isLeapYear(eyear)) { 838 day += LEAP_MONTH_START[month][yearType(eyear)]; 840 day += MONTH_START[month][yearType(eyear)]; [all...] |
H A D | ChineseCalendar.java | 946 * @param eyear the extended year 952 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 958 eyear += floorDivide(month, 12, rem); 962 int gyear = eyear + epochYear - 1; // Gregorian year
|
H A D | IslamicCalendar.java | 763 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 764 return (int)(monthStart(eyear, month) + ((cType == CalculationType.ISLAMIC_TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1);
|
/external/icu/icu4c/source/i18n/ |
H A D | cecal.cpp | 76 CECalendar::handleComputeMonthStart(int32_t eyear,int32_t emonth, UBool /*useMonth*/) const argument 78 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
|
H A D | coptccal.cpp | 60 int32_t eyear; local 62 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 67 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year 69 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 72 return eyear; 78 int32_t eyear, month, day, era, year; local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 81 if (eyear <= 0) { 83 year = 1 - eyear; 86 year = eyear; [all...] |
H A D | buddhcal.cpp | 79 int32_t BuddhistCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, argument 83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
|
H A D | ethpccal.cpp | 83 int32_t eyear; local 85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 87 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) 93 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 95 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; 98 return eyear; 104 int32_t eyear, month, day, era, year; local 105 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 109 year = eyear + AMETE_MIHRET_DELTA; 111 if (eyear > [all...] |
H A D | gregoimp.h | 244 * @param eyear Extended year 247 static inline int32_t gregorianShift(int32_t eyear); 288 inline int32_t Grego::gregorianShift(int32_t eyear) { argument 289 int32_t y = eyear-1;
|
H A D | japancal.cpp | 324 int32_t JapaneseCalendar::getDefaultMonthInYear(int32_t eyear) argument 333 if(eyear == kEraInfo[era].year) { 341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) argument 346 if(eyear == kEraInfo[era].year) {
|
H A D | persncal.cpp | 166 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const { argument 170 eyear += ClockMath::floorDivide(month, 12, month); 173 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33);
|
H A D | hebrwcal.cpp | 527 int32_t HebrewCalendar::handleGetYearLength(int32_t eyear) const { 529 return startOfYear(eyear+1, status) - startOfYear(eyear, status); 632 int32_t HebrewCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const { argument 641 month += monthsInYear(--eyear); 645 month -= monthsInYear(eyear++); 648 int32_t day = startOfYear(eyear, status); 655 if (isLeapYear(eyear)) { 656 day += LEAP_MONTH_START[month][yearType(eyear)]; 658 day += MONTH_START[month][yearType(eyear)]; [all...] |
H A D | indiancal.cpp | 107 * @param eyear The year in Saka Era 110 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { argument 112 eyear += ClockMath::floorDivide(month, 12, month); 115 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { 129 * @param eyear The year in Saka Era. 131 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { 132 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; 236 * @param eyear The year in Indian Calendar measured from Saka Era (78 AD). 239 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ ) const { argument 246 eyear [all...] |
H A D | islamcal.cpp | 558 int32_t IslamicCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */) const { argument 562 eyear += (month / 12); 566 eyear += (month / 12) - 1; 569 return monthStart(eyear, month) + ((cType == TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1;
|
H A D | chnsecal.cpp | 314 * @param eyear the extended year 321 int32_t ChineseCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const { argument 329 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m); 333 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BuddhistCalendar.java | 211 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 212 return super.handleComputeMonthStart(eyear, month, useMonth);
|
H A D | CECalendar.java | 176 protected int handleComputeMonthStart(int eyear, argument 179 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
|
H A D | PersianCalendar.java | 364 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 369 eyear += floorDivide(month, 12, rem); 373 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33);
|
H A D | GregorianCalendar.java | 736 protected int handleGetYearLength(int eyear) { argument 737 return isLeapYear(eyear) ? 366 : 365; 757 int eyear, month, dayOfMonth, dayOfYear; 763 eyear = getGregorianYear(); 768 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); 770 // Compute the Julian calendar day number for January 1, eyear 771 long january1 = 365*(eyear-1) + floorDivide(eyear-1, 4); 780 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear 851 handleComputeMonthStart(int eyear, int month, boolean useMonth) argument [all...] |
H A D | HebrewCalendar.java | 746 protected int handleGetYearLength(int eyear) { argument 747 return (int)(startOfYear(eyear+1) - startOfYear(eyear)); 846 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 855 month += monthsInYear(--eyear); 859 month -= monthsInYear(eyear++); 862 long day = startOfYear(eyear); 865 if (isLeapYear(eyear)) { 866 day += LEAP_MONTH_START[month][yearType(eyear)]; 868 day += MONTH_START[month][yearType(eyear)]; [all...] |
H A D | ChineseCalendar.java | 965 * @param eyear the extended year 972 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 978 eyear += floorDivide(month, 12, rem); 982 int gyear = eyear + epochYear - 1; // Gregorian year
|
H A D | IslamicCalendar.java | 789 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument 790 return (int)(monthStart(eyear, month) + ((cType == CalculationType.ISLAMIC_TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1);
|