HomeSort by relevance Sort by last modified time
    Searched refs:eyear (Results 1 - 25 of 46) sorted by null

1 2

  /external/chromium/third_party/icu/source/i18n/
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...]
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...]
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...]
gregocal.cpp 367 int32_t eyear, month, dayOfMonth, dayOfYear; local
384 eyear = getGregorianYear();
389 eyear = (int32_t) ClockMath::floorDivide(4*julianEpochDay + 1464, 1461);
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...]
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;
cecal.cpp 76 CECalendar::handleComputeMonthStart(int32_t eyear,int32_t emonth, UBool /*useMonth*/) const
78 return ceToJD(eyear, emonth, 0, getJDEpochOffset());
hebrwcal.h 318 virtual int32_t handleGetYearLength(int32_t eyear) const;
348 * @param eyear the extended year
357 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;
indiancal.h 226 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
japancal.cpp 324 int32_t JapaneseCalendar::getDefaultMonthInYear(int32_t eyear)
333 if(eyear == kEraInfo[era].year) {
341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month)
346 if(eyear == kEraInfo[era].year) {
persncal.h 220 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
  /external/icu4c/i18n/
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...]
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...]
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...]
gregocal.cpp 367 int32_t eyear, month, dayOfMonth, dayOfYear; local
384 eyear = getGregorianYear();
389 eyear = (int32_t) ClockMath::floorDivide(4*julianEpochDay + 1464, 1461);
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...]
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;
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;

Completed in 1371 milliseconds

1 2