Searched defs:isLeapYear (Results 1 - 10 of 10) sorted by relevance

/external/icu4c/i18n/
H A Dchnsecal.h134 UBool isLeapYear; member in class:ChineseCalendar
H A Dgregoimp.h142 static inline UBool isLeapYear(int32_t year);
258 inline UBool Grego::isLeapYear(int32_t year) { function in class:Grego
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
H A Dpersncal.cpp265 UBool PersianCalendar::isLeapYear(int32_t year) function in class:PersianCalendar
300 return MONTH_COUNT[month][PersianCalendar::isLeapYear(extendedYear)?1:0];
307 return 365 + (PersianCalendar::isLeapYear(extendedYear) ? 1 : 0);
H A Dhebrwcal.cpp231 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) {
245 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) {
319 UBool leapYear = isLeapYear(year);
406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) {
412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
471 UBool HebrewCalendar::isLeapYear(int32_t year) { function in class:HebrewCalendar
478 return isLeapYear(year) ? 13 : 12;
573 UBool isLeap = isLeapYear(year);
648 if (isLeapYear(eyear)) {
H A Dgregocal.cpp22 * 05/08/97 aliu Added code review changes. Fixed isLeapYear() to
460 GregorianCalendar::isLeapYear(int32_t year) const function in class:GregorianCalendar
462 // MSVC complains bitterly if we try to use Grego::isLeapYear here
584 return isLeapYear(extendedYear) ? kLeapMonthLength[month] : kMonthLength[month];
588 return isLeapYear(eyear) ? 366 : 365;
604 return isLeapYear(year) ? kLeapMonthLength[month] : kMonthLength[month];
612 return isLeapYear(year) ? 366 : 365;
620 return isLeapYear(internalGet(UCAL_YEAR)) ? 366 : 365;
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Ddate-format-xparb.js77 return "(this.isLeapYear() ? 1 : 0) + ";
293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
310 Date.prototype.isLeapYear = function() {
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Ddate-format-xparb.js77 return "(this.isLeapYear() ? 1 : 0) + ";
293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
310 Date.prototype.isLeapYear = function() {
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
/external/webkit/Source/WebCore/html/
H A DDateComponents.cpp56 static bool isLeapYear(int year) function in namespace:WebCore
72 return isLeapYear(year) ? 29 : 28;
98 return day == Thursday || (day == Wednesday && isLeapYear(m_year)) ? 53 : 52;
523 m_month = monthFromDayInYear(yearDay, isLeapYear(m_year));
524 m_monthDay = dayInMonthFromDayInYear(yearDay, isLeapYear(m_year));
/external/webkit/Source/JavaScriptCore/wtf/
H A DDateMath.cpp143 static inline bool isLeapYear(int year) function in namespace:WTF
156 return 365 + isLeapYear(year);
311 static inline int monthToDayInYear(int month, bool isLeapYear) argument
313 return firstDayOfMonth[isLeapYear][month];
333 int monthday = monthToDayInYear(month, isLeapYear(year));
468 bool leapYear = isLeapYear(year);
659 if (month == 2 && day > 28 && !isLeapYear(year))
1143 tm.monthDay = dayInMonthFromDayInYear(tm.yearDay, isLeapYear(year));
1144 tm.month = monthFromDayInYear(tm.yearDay, isLeapYear(year));
/external/jdiff/
H A Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/apache/ org/apache/html/ ...

Completed in 169 milliseconds