HomeSort by relevance Sort by last modified time
    Searched refs:isLeap (Results 1 - 16 of 16) 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/chromium_org/third_party/icu/source/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]);
  /external/icu/icu4c/source/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 580 UBool isLeap = isLeapYear(year);
584 while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type] ) ) {
601 int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]);
  /frameworks/base/core/java/android/text/format/
TimeFormatter.java 297 int len = isLeap(year) ? DAYSPERLYEAR : DAYSPERNYEAR;
316 yday += isLeap(year) ? DAYSPERLYEAR : DAYSPERNYEAR;
458 private static boolean isLeap(int year) {
  /external/chromium_org/third_party/icu/source/i18n/unicode/
gregocal.h 657 * @param isLeap true if the year is a leap year.
661 UBool& isLeap);
  /external/icu/icu4c/source/i18n/unicode/
gregocal.h 657 * @param isLeap true if the year is a leap year.
661 UBool& isLeap);
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 198 boolean isLeap = (year == 0 || (year % 4 == 0 && year % 100 != 0));
199 int[] mlen = isLeap ? LEAP : NORMAL;
    [all...]
  /external/chromium_org/third_party/icu/source/tools/tzcode/
tz2icu.cpp 65 bool isLeap(int32_t y) {
70 return isLeap(y) ? SECS_PER_LEAP_YEAR : SECS_PER_YEAR;
    [all...]
  /external/icu/icu4c/source/tools/tzcode/
tz2icu.cpp 65 bool isLeap(int32_t y) {
70 return isLeap(y) ? SECS_PER_LEAP_YEAR : SECS_PER_YEAR;
    [all...]
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 

Completed in 723 milliseconds