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

  /libcore/luni/src/main/java/java/util/
GregorianCalendar.java 488 boolean leapYear = isLeapYear(fields[YEAR]);
489 int date = dayOfYear - daysInYear(leapYear, month);
490 if (date > daysInMonth(leapYear, month)) {
491 date -= daysInMonth(leapYear, month);
519 leapYear = isLeapYear(fields[YEAR]);
520 date = dayOfYear - daysInYear(leapYear, month);
521 if (date > daysInMonth(leapYear, month)) {
522 date -= daysInMonth(leapYear, month);
558 } else if (fields[DAY_OF_YEAR] >= (leapYear ? 367 : 366)
559 - mod7(daysFromStart + (leapYear ? 2 : 1)))
    [all...]
  /external/webkit/JavaScriptCore/wtf/
DateMath.h 83 int monthFromDayInYear(int dayInYear, bool leapYear);
84 int dayInMonthFromDayInYear(int dayInYear, bool leapYear);
DateMath.cpp 232 int monthFromDayInYear(int dayInYear, bool leapYear)
239 step += (leapYear ? 29 : 28);
270 int dayInMonthFromDayInYear(int dayInYear, bool leapYear)
278 const int daysInFeb = (leapYear ? 29 : 28);
460 bool leapYear = isLeapYear(year);
462 int dayInMonth = dayInMonthFromDayInYear(dayInYearLocal, leapYear);
463 int month = monthFromDayInYear(dayInYearLocal, leapYear);
  /external/chromium/third_party/icu/source/i18n/
hebrwcal.cpp 319 UBool leapYear = isLeapYear(year);
326 if (!leapYear) {
  /external/icu4c/i18n/
hebrwcal.cpp 319 UBool leapYear = isLeapYear(year);
326 if (!leapYear) {

Completed in 24 milliseconds