Searched refs:isLeapYear (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/
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 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 Dchnsecal.cpp116 isLeapYear = FALSE;
121 isLeapYear = other.isLeapYear;
385 if (isLeapYear) { // (member variable)
408 int32_t n = isLeapYear ? 13 : 12; // Months in this year
603 * <p>As a side effect, this method sets {@link #isLeapYear}.
634 // Note: isLeapYear is a member variable
635 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12;
638 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) {
645 UBool isLeapMonth = isLeapYear
[all...]
H A Dpersncal.h171 static UBool isLeapYear(int32_t year);
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 Dchnsecal.h134 UBool isLeapYear; member in class:ChineseCalendar
H A Dhebrwcal.h279 static UBool isLeapYear(int32_t year) ;
H A Dgregoimp.cpp91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
117 UBool isLeap = isLeapYear(year);
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/icu4c/i18n/
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 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.cpp108 UBool PersianCalendar::isLeapYear(int32_t year) function in class:PersianCalendar
151 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month];
158 return isLeapYear(extendedYear) ? 366 : 365;
H A Dchnsecal.cpp122 isLeapYear(FALSE),
132 isLeapYear(FALSE),
140 isLeapYear = other.isLeapYear;
424 if (isLeapYear) { // (member variable)
447 int32_t n = isLeapYear ? 13 : 12; // Months in this year
666 * <p>As a side effect, this method sets {@link #isLeapYear}.
697 // Note: isLeapYear is a member variable
698 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12;
701 if (isLeapYear
[all...]
H A Dpersncal.h171 static UBool isLeapYear(int32_t year);
H A Dchnsecal.h153 UBool isLeapYear; member in class:ChineseCalendar
H A Dhebrwcal.h279 static UBool isLeapYear(int32_t year) ;
H A Dgregoimp.cpp91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
117 UBool isLeap = isLeapYear(year);
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/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.h91 bool isLeapYear(int year);
110 using WTF::isLeapYear;
/external/chromium_org/third_party/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/chromium_org/third_party/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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
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/chromium_org/third_party/WebKit/Source/core/platform/
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)) ? maximumWeekNumber : maximumWeekNumber - 1;
518 m_month = monthFromDayInYear(yearDay, isLeapYear(m_year));
519 m_monthDay = dayInMonthFromDayInYear(yearDay, isLeapYear(m_year));
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dgregocal.h340 UBool isLeapYear(int32_t year) const;
/external/icu4c/i18n/unicode/
H A Dgregocal.h340 UBool isLeapYear(int32_t year) const;

Completed in 335 milliseconds

12