/external/chromium_org/third_party/icu/source/i18n/ |
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 > 0) [all...] |
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...] |
japancal.h | 195 * @param eyear the extended year 198 virtual int32_t getDefaultMonthInYear(int32_t eyear); 204 * @param eyear the extended year 208 virtual int32_t getDefaultDayInMonth(int32_t eyear, int32_t month);
|
indiancal.cpp | 108 * @param eyear The year in Saka Era 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { 113 eyear += ClockMath::floorDivide(month, 12, month); 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { 130 * @param eyear The year in Saka Era. 132 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { 133 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; 237 * @param eyear The year in Indian Calendar measured from Saka Era (78 AD). 240 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ ) const { 247 eyear += (int32_t)ClockMath::floorDivide(month, 12, month) [all...] |
hebrwcal.cpp | 527 int32_t HebrewCalendar::handleGetYearLength(int32_t eyear) const { 529 return startOfYear(eyear+1, status) - startOfYear(eyear, status); 625 int32_t HebrewCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const { 634 month += monthsInYear(--eyear); 638 month -= monthsInYear(eyear++); 641 int32_t day = startOfYear(eyear, status); 648 if (isLeapYear(eyear)) { 649 day += LEAP_MONTH_START[month][yearType(eyear)]; 651 day += MONTH_START[month][yearType(eyear)]; [all...] |
buddhcal.h | 162 * @param eyear the extended year 171 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
cecal.h | 69 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
gregocal.cpp | 367 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local 384 eyear = getGregorianYear(); 389 eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRemainder); 391 // Compute the Julian calendar day number for January 1, eyear 392 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); 401 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) 416 // eyear,month,dayOfMonth, 425 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) [all...] |
persncal.cpp | 166 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const { 170 eyear += ClockMath::floorDivide(month, 12, month); 173 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33);
|
cecal.cpp | 76 CECalendar::handleComputeMonthStart(int32_t eyear,int32_t emonth, UBool /*useMonth*/) const 78 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
|
hebrwcal.h | 322 virtual int32_t handleGetYearLength(int32_t eyear) const; 352 * @param eyear the extended year 361 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
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) { 289 int32_t y = eyear-1;
|
buddhcal.cpp | 79 int32_t BuddhistCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, 83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
|
/external/icu/icu4c/source/i18n/ |
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 > 0) [all...] |
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...] |
japancal.h | 195 * @param eyear the extended year 198 virtual int32_t getDefaultMonthInYear(int32_t eyear); 204 * @param eyear the extended year 208 virtual int32_t getDefaultDayInMonth(int32_t eyear, int32_t month);
|
indiancal.cpp | 108 * @param eyear The year in Saka Era 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { 113 eyear += ClockMath::floorDivide(month, 12, month); 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { 130 * @param eyear The year in Saka Era. 132 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { 133 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; 237 * @param eyear The year in Indian Calendar measured from Saka Era (78 AD). 240 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ ) const { 247 eyear += (int32_t)ClockMath::floorDivide(month, 12, month) [all...] |
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 { 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...] |
buddhcal.h | 162 * @param eyear the extended year 171 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
cecal.h | 69 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
gregocal.cpp | 367 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local 384 eyear = getGregorianYear(); 389 eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRemainder); 391 // Compute the Julian calendar day number for January 1, eyear 392 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); 401 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) 416 // eyear,month,dayOfMonth, 425 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) [all...] |
persncal.cpp | 166 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const { 170 eyear += ClockMath::floorDivide(month, 12, month); 173 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33);
|
cecal.cpp | 76 CECalendar::handleComputeMonthStart(int32_t eyear,int32_t emonth, UBool /*useMonth*/) const 78 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
|
hebrwcal.h | 322 virtual int32_t handleGetYearLength(int32_t eyear) const; 352 * @param eyear the extended year 361 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
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) { 289 int32_t y = eyear-1;
|