Searched refs:isLeap (Results 1 – 15 of 15) sorted by relevance
757 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields()761 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in handleComputeFields()763 correction = isLeap ? 1 : 2; in handleComputeFields()766 dayOfMonth = dayOfYear - MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in handleComputeFields()835 boolean isLeap = eyear%4 == 0; in handleComputeMonthStart()844 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0)); in handleComputeMonthStart()855 julianDay += MONTH_COUNT[month][isLeap?3:2]; in handleComputeMonthStart()
4962 boolean isLeap = ((year&0x3) == 0) && // equiv. to (year%4 == 0) in computeGregorianFields()4966 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in computeGregorianFields()4967 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()4970 GREGORIAN_MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in computeGregorianFields()5842 boolean isLeap = (year%4 == 0) && ((year%100 != 0) || (year%400 == 0)); in computeGregorianMonthStart()5853 julianDay += GREGORIAN_MONTH_COUNT[month][isLeap?3:2]; in computeGregorianMonthStart()
782 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields()786 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in handleComputeFields()788 correction = isLeap ? 1 : 2; in handleComputeFields()791 dayOfMonth = dayOfYear - MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in handleComputeFields()863 boolean isLeap = eyear%4 == 0; in handleComputeMonthStart()872 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0)); in handleComputeMonthStart()883 julianDay += MONTH_COUNT[month][isLeap?3:2]; in handleComputeMonthStart()
5128 boolean isLeap = ((year&0x3) == 0) && // equiv. to (year%4 == 0) in computeGregorianFields()5132 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in computeGregorianFields()5133 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()5136 GREGORIAN_MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in computeGregorianFields()6024 boolean isLeap = (year%4 == 0) && ((year%100 != 0) || (year%400 == 0)); in computeGregorianMonthStart()6035 julianDay += GREGORIAN_MONTH_COUNT[month][isLeap?3:2]; in computeGregorianMonthStart()
139 boolean isLeap = isLeapYear(year); in dayToFields()141 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in dayToFields()143 correction = isLeap ? 1 : 2; in dayToFields()146 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields()
141 boolean isLeap = isLeapYear(year); in dayToFields()143 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in dayToFields()145 correction = isLeap ? 1 : 2; in dayToFields()148 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields()
115 UBool isLeap = isLeapYear(year); in dayToFields() local123 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in dayToFields()125 correction = isLeap ? 1 : 2; in dayToFields()128 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields()
403 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() local407 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in handleComputeFields()409 correction = isLeap ? 1 : 2; in handleComputeFields()412 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()543 UBool isLeap = eyear%4 == 0; in handleComputeMonthStart() local556 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0)); in handleComputeMonthStart()572 julianDay += isLeap?kLeapNumDays[month]:kNumDays[month]; in handleComputeMonthStart()717 int32_t year, UBool& isLeap) in computeJulianDayOfYear() argument719 isLeap = year%4 == 0; in computeJulianDayOfYear()724 isLeap = isLeap && ((year%100 != 0) || (year%400 == 0)); in computeJulianDayOfYear()
583 UBool isLeap = isLeapYear(year); in handleComputeFields() local587 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()604 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
230 boolean isLeap = ((year % 4) == 3); in Test6379()239 int expected = (month != maxMonth) ? 30 : (isLeap ? 6 : 5); in Test6379()
231 boolean isLeap = ((year % 4) == 3); in Test6379()240 int expected = (month != maxMonth) ? 30 : (isLeap ? 6 : 5); in Test6379()
663 UBool& isLeap);
66 bool isLeap(int32_t y) { in isLeap() function71 return isLeap(y) ? SECS_PER_LEAP_YEAR : SECS_PER_YEAR; in secsPerYear()
1632 boolean isLeap = HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR)); in subFormat()1633 if (isLeap && value == 6 && count >= 3 ) { in subFormat()1636 if (!isLeap && value >= 6 && count < 3 ) { in subFormat()
1622 boolean isLeap = HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR)); in subFormat()1623 if (isLeap && value == 6 && count >= 3 ) { in subFormat()1626 if (!isLeap && value >= 6 && count < 3 ) { in subFormat()