Searched refs:isLeap (Results 1 – 11 of 11) sorted by relevance
780 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields()784 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in handleComputeFields()786 correction = isLeap ? 1 : 2; in handleComputeFields()789 dayOfMonth = dayOfYear - MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in handleComputeFields()861 boolean isLeap = eyear%4 == 0; in handleComputeMonthStart()870 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0)); in handleComputeMonthStart()881 julianDay += MONTH_COUNT[month][isLeap?3:2]; in handleComputeMonthStart()
5060 boolean isLeap = ((year&0x3) == 0) && // equiv. to (year%4 == 0) in computeGregorianFields()5064 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in computeGregorianFields()5065 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()5068 GREGORIAN_MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in computeGregorianFields()5956 boolean isLeap = (year%4 == 0) && ((year%100 != 0) || (year%400 == 0));5967 julianDay += GREGORIAN_MONTH_COUNT[month][isLeap?3:2];
137 boolean isLeap = isLeapYear(year); in dayToFields()139 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in dayToFields()141 correction = isLeap ? 1 : 2; in dayToFields()144 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields()
401 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() local405 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in handleComputeFields()407 correction = isLeap ? 1 : 2; in handleComputeFields()410 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()541 UBool isLeap = eyear%4 == 0; in handleComputeMonthStart() local554 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0)); in handleComputeMonthStart()570 julianDay += isLeap?kLeapNumDays[month]:kNumDays[month]; in handleComputeMonthStart()715 int32_t year, UBool& isLeap) in computeJulianDayOfYear() argument717 isLeap = year%4 == 0; in computeJulianDayOfYear()722 isLeap = isLeap && ((year%100 != 0) || (year%400 == 0)); in computeJulianDayOfYear()
117 UBool isLeap = isLeapYear(year); in dayToFields() local125 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in dayToFields()127 correction = isLeap ? 1 : 2; in dayToFields()130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields()
580 UBool isLeap = isLeapYear(year); in handleComputeFields() local584 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()601 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
224 boolean isLeap = ((year % 4) == 3); in Test6379()233 int expected = (month != maxMonth) ? 30 : (isLeap ? 6 : 5); in Test6379()
661 UBool& isLeap);
65 bool isLeap(int32_t y) { in isLeap() function70 return isLeap(y) ? SECS_PER_LEAP_YEAR : SECS_PER_YEAR; in secsPerYear()
1594 boolean isLeap = HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR)); in subFormat()1595 if (isLeap && value == 6 && count >= 3 ) { in subFormat()1598 if (!isLeap && value >= 6 && count < 3 ) { in subFormat()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...