Home
last modified time | relevance | path

Searched refs:isLeapYear (Results 1 – 25 of 35) sorted by relevance

12

/external/icu4c/i18n/
Dhebrwcal.cpp231 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
245 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
319 UBool leapYear = isLeapYear(year); in roll()
406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear()
412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
471 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear() function in HebrewCalendar
478 return isLeapYear(year) ? 13 : 12; in monthsInYear()
573 UBool isLeap = isLeapYear(year); in handleComputeFields()
648 if (isLeapYear(eyear)) { in handleComputeMonthStart()
Dchnsecal.cpp122 isLeapYear(FALSE), in ChineseCalendar()
132 isLeapYear(FALSE), in ChineseCalendar()
140 isLeapYear = other.isLeapYear; in ChineseCalendar()
424 if (isLeapYear) { // (member variable) in roll()
447 int32_t n = isLeapYear ? 13 : 12; // Months in this year in roll()
698 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields()
701 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields()
708 UBool isLeapMonth = isLeapYear && in computeChineseFields()
Dgregoimp.h142 static inline UBool isLeapYear(int32_t year);
258 inline UBool Grego::isLeapYear(int32_t year) { in isLeapYear() function
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; in monthLength()
Dpersncal.cpp108 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() function in PersianCalendar
151 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
158 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
Dgregocal.cpp460 GregorianCalendar::isLeapYear(int32_t year) const in isLeapYear() function in GregorianCalendar
584 return isLeapYear(extendedYear) ? kLeapMonthLength[month] : kMonthLength[month]; in handleGetMonthLength()
588 return isLeapYear(eyear) ? 366 : 365; in handleGetYearLength()
604 return isLeapYear(year) ? kLeapMonthLength[month] : kMonthLength[month]; in monthLength()
612 return isLeapYear(year) ? 366 : 365; in yearLength()
620 return isLeapYear(internalGet(UCAL_YEAR)) ? 366 : 365; in yearLength()
Dpersncal.h171 static UBool isLeapYear(int32_t year);
Dgregoimp.cpp91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay()
117 UBool isLeap = isLeapYear(year); in dayToFields()
Dhebrwcal.h279 static UBool isLeapYear(int32_t year) ;
Dchnsecal.h153 UBool isLeapYear;
/external/chromium_org/third_party/icu/source/i18n/
Dhebrwcal.cpp231 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
245 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
319 UBool leapYear = isLeapYear(year); in roll()
406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear()
412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
471 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear() function in HebrewCalendar
478 return isLeapYear(year) ? 13 : 12; in monthsInYear()
573 UBool isLeap = isLeapYear(year); in handleComputeFields()
648 if (isLeapYear(eyear)) { in handleComputeMonthStart()
Dchnsecal.cpp116 isLeapYear = FALSE; in ChineseCalendar()
121 isLeapYear = other.isLeapYear; in ChineseCalendar()
385 if (isLeapYear) { // (member variable) in roll()
408 int32_t n = isLeapYear ? 13 : 12; // Months in this year in roll()
635 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields()
638 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields()
645 UBool isLeapMonth = isLeapYear && in computeChineseFields()
Dgregoimp.h142 static inline UBool isLeapYear(int32_t year);
258 inline UBool Grego::isLeapYear(int32_t year) { in isLeapYear() function
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; in monthLength()
Dpersncal.cpp265 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() function in PersianCalendar
300 return MONTH_COUNT[month][PersianCalendar::isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
307 return 365 + (PersianCalendar::isLeapYear(extendedYear) ? 1 : 0); in handleGetYearLength()
Dgregocal.cpp460 GregorianCalendar::isLeapYear(int32_t year) const in isLeapYear() function in GregorianCalendar
584 return isLeapYear(extendedYear) ? kLeapMonthLength[month] : kMonthLength[month]; in handleGetMonthLength()
588 return isLeapYear(eyear) ? 366 : 365; in handleGetYearLength()
604 return isLeapYear(year) ? kLeapMonthLength[month] : kMonthLength[month]; in monthLength()
612 return isLeapYear(year) ? 366 : 365; in yearLength()
620 return isLeapYear(internalGet(UCAL_YEAR)) ? 366 : 365; in yearLength()
Dpersncal.h171 static UBool isLeapYear(int32_t year);
Dgregoimp.cpp91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay()
117 UBool isLeap = isLeapYear(year); in dayToFields()
Dhebrwcal.h279 static UBool isLeapYear(int32_t year) ;
Dchnsecal.h134 UBool isLeapYear;
/external/chromium_org/third_party/WebKit/Source/wtf/
DDateMath.h71 WTF_EXPORT bool isLeapYear(int year);
87 using WTF::isLeapYear;
DDateMath.cpp126 bool isLeapYear(int year) in isLeapYear() function
139 return 365 + isLeapYear(year); in daysInYear()
287 return firstDayOfMonth[isLeapYear(year)][month] + day - 1; in dayInYear()
444 bool leapYear = isLeapYear(year); in calculateDSTOffset()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Ddate-format-xparb.js293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
310 Date.prototype.isLeapYear = function() { method in Date
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Ddate-format-xparb.js293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
310 Date.prototype.isLeapYear = function() { method in Date
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Ddate-format-xparb.js293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
310 Date.prototype.isLeapYear = function() { method in Date
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
/external/chromium_org/third_party/WebKit/Source/platform/
DDateComponents.cpp61 return isLeapYear(year) ? 29 : 28; in maxDayOfMonth()
87 …return day == Thursday || (day == Wednesday && isLeapYear(m_year)) ? maximumWeekNumber : maximumWe… in maxWeekNumberInYear()
507 m_month = monthFromDayInYear(yearDay, isLeapYear(m_year)); in setMillisecondsSinceEpochForDateInternal()
508 m_monthDay = dayInMonthFromDayInYear(yearDay, isLeapYear(m_year)); in setMillisecondsSinceEpochForDateInternal()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dgregocal.h340 UBool isLeapYear(int32_t year) const;

12