/external/icu4c/i18n/ |
D | ethpccal.cpp | 83 int32_t eyear; in handleGetExtendedYear() local 85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 87 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 93 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 95 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 98 return eyear; in handleGetExtendedYear() 104 int32_t eyear, month, day, era, year; in handleComputeFields() local 105 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 109 year = eyear + AMETE_MIHRET_DELTA; in handleComputeFields() 111 if (eyear > 0) { in handleComputeFields() [all …]
|
D | coptccal.cpp | 60 int32_t eyear; in handleGetExtendedYear() local 62 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 67 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year in handleGetExtendedYear() 69 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 72 return eyear; in handleGetExtendedYear() 78 int32_t eyear, month, day, era, year; in handleComputeFields() local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 81 if (eyear <= 0) { in handleComputeFields() 83 year = 1 - eyear; in handleComputeFields() 86 year = eyear; in handleComputeFields() [all …]
|
D | gregocal.cpp | 367 int32_t eyear, month, dayOfMonth, dayOfYear; in handleComputeFields() local 384 eyear = getGregorianYear(); in handleComputeFields() 389 eyear = (int32_t) ClockMath::floorDivide(4*julianEpochDay + 1464, 1461); in handleComputeFields() 392 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); in handleComputeFields() 401 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 425 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { in handleComputeFields() 427 int32_t gregShift = Grego::gregorianShift(eyear); in handleComputeFields() 438 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields() 440 if (eyear < 1) { in handleComputeFields() 442 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | hebrwcal.cpp | 527 int32_t HebrewCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 529 return startOfYear(eyear+1, status) - startOfYear(eyear, status); in handleGetYearLength() 625 int32_t HebrewCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) c… in handleComputeMonthStart() argument 634 month += monthsInYear(--eyear); in handleComputeMonthStart() 638 month -= monthsInYear(eyear++); in handleComputeMonthStart() 641 int32_t day = startOfYear(eyear, status); in handleComputeMonthStart() 648 if (isLeapYear(eyear)) { in handleComputeMonthStart() 649 day += LEAP_MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart() 651 day += MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()
|
D | indiancal.cpp | 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { in handleGetMonthLength() argument 113 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength() 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength() 132 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 133 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; in handleGetYearLength() 240 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ … in handleComputeMonthStart() argument 247 eyear += (int32_t)ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart() 256 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart()
|
D | japancal.cpp | 324 int32_t JapaneseCalendar::getDefaultMonthInYear(int32_t eyear) in getDefaultMonthInYear() argument 333 if(eyear == kEraInfo[era].year) { in getDefaultMonthInYear() 341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) in getDefaultDayInMonth() argument 346 if(eyear == kEraInfo[era].year) { in getDefaultDayInMonth()
|
D | japancal.h | 198 virtual int32_t getDefaultMonthInYear(int32_t eyear); 208 virtual int32_t getDefaultDayInMonth(int32_t eyear, int32_t month);
|
D | gregoimp.h | 247 static inline int32_t gregorianShift(int32_t eyear); 288 inline int32_t Grego::gregorianShift(int32_t eyear) { in gregorianShift() argument 289 int32_t y = eyear-1; in gregorianShift()
|
D | cecal.cpp | 76 CECalendar::handleComputeMonthStart(int32_t eyear,int32_t emonth, UBool /*useMonth*/) const in handleComputeMonthStart() argument 78 return ceToJD(eyear, emonth, 0, getJDEpochOffset()); in handleComputeMonthStart()
|
D | hebrwcal.h | 322 virtual int32_t handleGetYearLength(int32_t eyear) const; 361 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
D | persncal.cpp | 315 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) cons… in handleComputeMonthStart() argument 319 eyear += month / 12; in handleComputeMonthStart() 322 return jalali_to_julian(eyear,(useMonth?month+1:1),1)-1+1947955; in handleComputeMonthStart()
|
D | buddhcal.cpp | 79 int32_t BuddhistCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, in handleComputeMonthStart() argument 83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth); in handleComputeMonthStart()
|
D | cecal.h | 69 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
D | buddhcal.h | 171 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
D | indiancal.h | 226 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
D | calendar.cpp | 1383 int32_t eyear = fFields[UCAL_EXTENDED_YEAR]; in computeWeekFields() local 1396 int32_t yearOfWeekOfYear = eyear; in computeWeekFields() 1412 int32_t prevDoy = dayOfYear + handleGetYearLength(eyear - 1); in computeWeekFields() 1416 int32_t lastDoy = handleGetYearLength(eyear); in computeWeekFields() 1475 int32_t eyear = getGregorianYear(); in handleComputeFields() local 1476 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields() 1478 if (eyear < 1) { in handleComputeFields() 1480 eyear = 1 - eyear; in handleComputeFields() 1483 internalSet(UCAL_YEAR, eyear); in handleComputeFields() 3055 int32_t Calendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() [all …]
|
D | persncal.h | 220 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
D | islamcal.h | 317 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
D | islamcal.cpp | 360 int32_t IslamicCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */… in handleComputeMonthStart() argument 361 return monthStart(eyear, month) + 1948439; in handleComputeMonthStart()
|
D | chnsecal.cpp | 286 int32_t ChineseCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) cons… in handleComputeMonthStart() argument 294 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m); in handleComputeMonthStart() 298 int32_t gyear = eyear + CHINESE_EPOCH_YEAR - 1; // Gregorian year in handleComputeMonthStart()
|
D | chnsecal.h | 143 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
/external/icu4c/i18n/unicode/ |
D | gregocal.h | 500 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, 529 virtual int32_t handleGetYearLength(int32_t eyear) const;
|
D | calendar.h | 1472 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, 1491 virtual int32_t handleGetYearLength(int32_t eyear) const; 1800 virtual int32_t getDefaultMonthInYear(int32_t eyear) ; 1810 virtual int32_t getDefaultDayInMonth(int32_t eyear, int32_t month);
|