HomeSort by relevance Sort by last modified time
    Searched defs:isLeap (Results 1 - 4 of 4) sorted by null

  /external/icu4c/i18n/
gregoimp.cpp 117 UBool isLeap = isLeapYear(year);
125 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1
127 correction = isLeap ? 1 : 2;
130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM
hebrwcal.cpp 573 UBool isLeap = isLeapYear(year);
577 while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type] ) ) {
594 int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]);
gregocal.cpp 401 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0)
405 int32_t march1 = isLeap ? 60 : 59; // zero-based DOY for March 1
407 correction = isLeap ? 1 : 2;
410 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM
413 // fprintf(stderr, "%d - %d[%d] + 1\n", dayOfYear, isLeap?kLeapNumDays[month]:kNumDays[month], month );
541 UBool isLeap = eyear%4 == 0;
554 isLeap = isLeap && ((eyear%100 != 0) || (eyear%400 == 0));
570 julianDay += isLeap?kLeapNumDays[month]:kNumDays[month];
715 int32_t year, UBool& isLeap)
    [all...]
  /external/icu4c/tools/tzcode/
tz2icu.cpp 65 bool isLeap(int32_t y) {
70 return isLeap(y) ? SECS_PER_LEAP_YEAR : SECS_PER_YEAR;
    [all...]

Completed in 780 milliseconds