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

/macosx-10.10.1/ICU-531.30/icuSources/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;
533 if (field == UCAL_MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(UCAL_MONTH) == ADAR_1) {
580 UBool isLeap = isLeapYear(year);
655 if (isLeapYear(eyea
[all...]
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 Dpersncal.h171 static UBool isLeapYear(int32_t year);
H A Dchnsecal.cpp122 isLeapYear(FALSE),
132 isLeapYear(FALSE),
140 isLeapYear = other.isLeapYear;
417 if (isLeapYear) { // (member variable)
440 int32_t n = isLeapYear ? 13 : 12; // Months in this year
699 * <p>As a side effect, this method sets {@link #isLeapYear}.
730 // Note: isLeapYear is a member variable
731 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12;
734 if (isLeapYear
[all...]
H A Dhebrwcal.h279 static UBool isLeapYear(int32_t year) ;
H A Dchnsecal.h153 UBool isLeapYear; member in class:ChineseCalendar
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;
H A Dtzrule.cpp293 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) {
H A Dsmpdtfmt.cpp1410 if (hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value == 6 && count >= 3 )
1412 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6 && count < 3 )
2775 if (!hc->isLeapYear(value) && saveHebrewMonth >= 6) {
2825 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6) {
3236 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6) {
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/exceptionFuzz/
H A Ddate-format-xparb.js79 return "(this.isLeapYear() ? 1 : 0) + ";
295 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
312 Date.prototype.isLeapYear = function() { method in class:Date
328 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DDateMath.h115 WTF_EXPORT_PRIVATE bool isLeapYear(int year);
133 using WTF::isLeapYear;
H A DDateMath.cpp137 bool isLeapYear(int year) function in namespace:WTF
150 return 365 + isLeapYear(year);
298 return firstDayOfMonth[isLeapYear(year)][month] + day - 1;
480 bool leapYear = isLeapYear(year);
520 int mday = firstDayOfMonth[isLeapYear(year)][mon - 1];
780 if (month == 2 && day > 28 && !isLeapYear(year))
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DJSDateMath.cpp218 tm.setMonthDay(dayInMonthFromDayInYear(tm.yearDay(), isLeapYear(year)));
219 tm.setMonth(monthFromDayInYear(tm.yearDay(), isLeapYear(year)));
/macosx-10.10.1/ICU-531.30/icuSources/i18n/unicode/
H A Dgregocal.h340 UBool isLeapYear(int32_t year) const;
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dcalregts.cpp1435 * Check isLeapYear for BC years.
1458 cal->isLeapYear(y));
1459 if (cal->isLeapYear(y) != ((y+40)%4 == 0))
1495 !cal->isLeapYear(-80)) // -80 == 81 BC
1721 UBool is100Leap = calendar->isLeapYear(100);
1726 errln(UnicodeString(" isLeapYear(100) returns: ") + is100Leap);
H A Dcaltest.cpp749 b = c->isLeapYear(1800);
750 logln(UnicodeString(" isLeapYear(1800) = ") + (b ? "true" : "false"));
756 b = c->isLeapYear(1800);
757 logln(UnicodeString(" isLeapYear(1800) = ") + (b ? "true" : "false"));
2261 if (HebrewCalendar::isLeapYear(year) == FALSE && month == HebrewCalendar::ADAR_1) {

Completed in 290 milliseconds