Searched refs:isLeap (Results 1 – 15 of 15) sorted by relevance
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()
5104 boolean isLeap = ((year&0x3) == 0) && // equiv. to (year%4 == 0) in computeGregorianFields()5108 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in computeGregorianFields()5109 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()5112 GREGORIAN_MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in computeGregorianFields()6113 boolean isLeap = (year%4 == 0) && ((year%100 != 0) || (year%400 == 0)); in computeGregorianMonthStart()6124 julianDay += GREGORIAN_MONTH_COUNT[month][isLeap?3:2]; in computeGregorianMonthStart()
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()
4939 boolean isLeap = ((year&0x3) == 0) && // equiv. to (year%4 == 0) in computeGregorianFields()4943 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in computeGregorianFields()4944 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()4947 GREGORIAN_MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in computeGregorianFields()5928 boolean isLeap = (year%4 == 0) && ((year%100 != 0) || (year%400 == 0)); in computeGregorianMonthStart()5939 julianDay += GREGORIAN_MONTH_COUNT[month][isLeap?3:2]; in computeGregorianMonthStart()
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()
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()
120 UBool isLeap = isLeapYear(year); in dayToFields() local128 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1 in dayToFields()130 correction = isLeap ? 1 : 2; in dayToFields()133 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()
233 boolean isLeap = ((year % 4) == 3); in Test6379()242 int expected = (month != maxMonth) ? 30 : (isLeap ? 6 : 5); in Test6379()
236 boolean isLeap = ((year % 4) == 3); in Test6379()245 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()
1644 boolean isLeap = HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR)); in subFormat()1645 if (isLeap && value == 6 && count >= 3 ) { in subFormat()1648 if (!isLeap && value >= 6 && count < 3 ) { in subFormat()
1634 boolean isLeap = HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR)); in subFormat()1635 if (isLeap && value == 6 && count >= 3 ) { in subFormat()1638 if (!isLeap && value >= 6 && count < 3 ) { in subFormat()