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

  /libcore/luni/src/main/java/java/util/
Grego.java 137 boolean isLeap = isLeapYear(year);
139 int march1 = isLeap ? 60 : 59; // zero-based DOY for March 1
141 correction = isLeap ? 1 : 2;
144 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM
  /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
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...]
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]);
  /bionic/libc/tools/zoneinfo/
ZoneInfo.java 167 boolean isLeap = (year == 0 || (year % 4 == 0 && year % 100 != 0));
168 int[] mlen = isLeap ? LEAP : NORMAL;
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 134 boolean isLeap = (year == 0 || (year % 4 == 0 && year % 100 != 0));
135 int[] mlen = isLeap ? LEAP : NORMAL;
  /external/icu4c/i18n/unicode/
gregocal.h 655 * @param isLeap true if the year is a leap year.
659 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 376 milliseconds