Searched refs:eyear (Results 1 - 25 of 36) sorted by relevance

12

/external/icu/icu4c/source/i18n/
H A Dethpccal.cpp83 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 Dcoptccal.cpp60 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 Dindiancal.cpp107 * @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 Djapancal.h195 * @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);
H A Dhebrwcal.cpp527 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 Dbuddhcal.h162 * @param eyear the extended year
171 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
H A Dcecal.h69 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
H A Dgregocal.cpp367 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
529 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument
[all...]
H A Dpersncal.cpp166 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 Dcecal.cpp76 CECalendar::handleComputeMonthStart(int32_t eyear,int32_t emonth, UBool /*useMonth*/) const argument
78 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
H A Dhebrwcal.h322 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,
H A Dgregoimp.h244 * @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 Dbuddhcal.cpp79 int32_t BuddhistCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, argument
83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
H A Dindiancal.h226 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
H A Djapancal.cpp324 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 Dpersncal.h220 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
H A Dislamcal.h318 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCopticCalendar.java251 int eyear;
253 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1
258 eyear = 1 - internalGet(YEAR, 1); // Convert to extended year
260 eyear = internalGet(YEAR, 1); // Default to year 1
263 return eyear;
277 // fields[0] eyear
H A DGregorianCalendar.java736 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 DHebrewCalendar.java746 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 DEthiopicCalendar.java301 int eyear;
303 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1
305 eyear = internalGet(YEAR, 1 + AMETE_MIHRET_DELTA)
311 eyear = internalGet(YEAR, 1); // Default to year 1
313 eyear = internalGet(YEAR, 1) - AMETE_MIHRET_DELTA;
316 return eyear;
330 // fields[0] eyear
H A DBuddhistCalendar.java211 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { argument
212 return super.handleComputeMonthStart(eyear, month, useMonth);
H A DPersianCalendar.java364 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 DCECalendar.java176 protected int handleComputeMonthStart(int eyear, argument
179 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
/external/icu/icu4c/source/i18n/unicode/
H A Dgregocal.h499 * @param eyear the extended year
508 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
537 virtual int32_t handleGetYearLength(int32_t eyear) const;

Completed in 413 milliseconds

12