Home | History | Annotate | Download | only in i18n

Lines Matching full:eyear

367     int32_t eyear, month, dayOfMonth, dayOfYear;
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)) {
427 int32_t gregShift = Grego::gregorianShift(eyear);
438 internalSet(UCAL_EXTENDED_YEAR, eyear);
440 if (eyear < 1) {
442 eyear = 1 - eyear;
445 internalSet(UCAL_YEAR, eyear);
529 int32_t GregorianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month,
538 eyear += ClockMath::floorDivide(month, 12, month);
541 UBool isLeap = eyear%4 == 0;
542 int32_t y = eyear-1;
545 nonConstThis->fIsGregorian = (eyear >= fGregorianCutoverYear);
548 __FILE__, __LINE__, eyear,month, fIsGregorian?"T":"F", fInvertGregorian?"T":"F");
554 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0));
557 int32_t gregShift = Grego::gregorianShift(eyear);
560 __FILE__, __LINE__, eyear, month, julianDay, gregShift);
566 // day of January 1, <eyear> of either the Julian or Gregorian
587 int32_t GregorianCalendar::handleGetYearLength(int32_t eyear) const {
588 return isLeapYear(eyear) ? 366 : 365;