/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | HebrewCalendar.java | 463 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add() 477 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add() 540 boolean leapYear = isLeapYear(year); in roll() 622 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 628 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear() 690 public static boolean isLeapYear(int year) { in isLeapYear() method in HebrewCalendar 697 return isLeapYear(year) ? 13 : 12; in monthsInYear() 760 … if (field == MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(MONTH) == ADAR_1) { in validateField() 808 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START; in handleComputeFields() 865 if (isLeapYear(eyear)) { in handleComputeMonthStart()
|
D | PersianCalendar.java | 308 private final static boolean isLeapYear(int year) in isLeapYear() method in PersianCalendar 339 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 350 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
|
D | ChineseCalendar.java | 138 private transient boolean isLeapYear; field in ChineseCalendar 594 if (isLeapYear) { // (member variable) in roll() 616 int n = isLeapYear ? 13 : 12; // Months in this year in roll() 874 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields() 877 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields() 884 boolean isLeapMonth = isLeapYear && in computeChineseFields()
|
D | GregorianCalendar.java | 525 public boolean isLeapYear(int year) { in isLeapYear() method in GregorianCalendar 730 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 737 return isLeapYear(eyear) ? 366 : 365; in handleGetYearLength()
|
D | AnnualTimeZoneRule.java | 138 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { in getStartInYear()
|
/external/icu/icu4c/source/i18n/ |
D | hebrwcal.cpp | 231 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() 533 …if (field == UCAL_MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(UCAL_MONTH) == ADAR… in validateField() 580 UBool isLeap = isLeapYear(year); in handleComputeFields() 655 if (isLeapYear(eyear)) { in handleComputeMonthStart()
|
D | chnsecal.cpp | 125 isLeapYear(FALSE), in ChineseCalendar() 135 isLeapYear(FALSE), in ChineseCalendar() 143 isLeapYear = other.isLeapYear; in ChineseCalendar() 420 if (isLeapYear) { // (member variable) in roll() 443 int32_t n = isLeapYear ? 13 : 12; // Months in this year in roll() 694 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields() 697 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields() 704 UBool isLeapMonth = isLeapYear && in computeChineseFields()
|
D | gregoimp.h | 142 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()
|
D | persncal.cpp | 108 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()
|
D | gregocal.cpp | 460 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()
|
D | persncal.h | 171 static UBool isLeapYear(int32_t year);
|
D | gregoimp.cpp | 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay() 117 UBool isLeap = isLeapYear(year); in dayToFields()
|
D | hebrwcal.h | 279 static UBool isLeapYear(int32_t year) ;
|
D | chnsecal.h | 153 UBool isLeapYear;
|
D | smpdtfmt.cpp | 1475 if (hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value == 6 && count >= 3 ) in subFormat() 1477 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6 && count < 3 ) in subFormat() 2816 if (!hc->isLeapYear(value) && saveHebrewMonth >= 6) { in subParse() 2866 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6) { in subParse() 3311 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6) { in subParse()
|
D | tzrule.cpp | 293 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { in getStartInYear()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 60 public static final boolean isLeapYear(int year) { in isLeapYear() method in Grego 72 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; in monthLength() 98 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay() 137 boolean isLeap = isLeapYear(year); in dayToFields()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | gregocal.h | 340 UBool isLeapYear(int32_t year) const;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | HebrewTest.java | 469 boolean leapYear = HebrewCalendar.isLeapYear (year); in Test1624()
|
D | CalendarRegression.java | 919 cal.isLeapYear(y)); in Test4125881() 920 if (cal.isLeapYear(y) != ((y+40)%4 == 0)) in Test4125881() 945 !cal.isLeapYear(-80)) // -80 == 81 BC in Test4125892() 1165 boolean is100Leap = calendar.isLeapYear(100); in Test4149677()
|
D | CompatibilityTest.java | 502 logln(" isLeapYear(1800) = " + (b=c.isLeapYear(1800))); in TestGregorianChange768() 510 logln(" isLeapYear(1800) = " + (b=c.isLeapYear(1800))); in TestGregorianChange768()
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 1458 cal->isLeapYear(y)); in test4125881() 1459 if (cal->isLeapYear(y) != ((y+40)%4 == 0)) in test4125881() 1495 !cal->isLeapYear(-80)) // -80 == 81 BC in test4125892() 1721 UBool is100Leap = calendar->isLeapYear(100); in Test4149677()
|
D | caltest.cpp | 760 b = c->isLeapYear(1800); in TestGregorianChange768() 767 b = c->isLeapYear(1800); in TestGregorianChange768() 2272 if (HebrewCalendar::isLeapYear(year) == FALSE && month == HebrewCalendar::ADAR_1) { in Test1624()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 1594 boolean isLeap = HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR)); in subFormat() 2974 if (!HebrewCalendar.isLeapYear(value)) { in subParse() 3006 if (!HebrewCalendar.isLeapYear(cal.get(Calendar.YEAR))) { in subParse()
|
/external/chromium-trace/trace-viewer/tracing/third_party/css-element-queries/test/ |
D | mootools-more-yui-compressed.min.js | 1 …isLeapYear:function(){return J.isLeapYear(this.get("year"))},clearTime:function(){return this.set(… method
|