/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | HebrewCalendar.java | 440 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add() 454 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add() 516 boolean leapYear = isLeapYear(year); in roll() 598 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 604 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear() 667 public static boolean isLeapYear(int year) { in isLeapYear() method in HebrewCalendar 674 return isLeapYear(year) ? 13 : 12; in monthsInYear() 735 … if (field == MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(MONTH) == ADAR_1) { in validateField() 782 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START; in handleComputeFields() 837 if (isLeapYear(eyear)) { in handleComputeMonthStart()
|
D | ChineseCalendar.java | 138 private transient boolean isLeapYear; field in ChineseCalendar 576 if (isLeapYear) { // (member variable) in roll() 598 int n = isLeapYear ? 13 : 12; // Months in this year in roll() 855 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields() 858 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields() 865 boolean isLeapMonth = isLeapYear && in computeChineseFields()
|
D | PersianCalendar.java | 310 private final static boolean isLeapYear(int year) in isLeapYear() method in PersianCalendar 341 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 352 return isLeapYear(extendedYear) ? 366 : 365; in handleGetYearLength()
|
D | GregorianCalendar.java | 508 public boolean isLeapYear(int year) { in isLeapYear() method in GregorianCalendar 707 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength() 713 return isLeapYear(eyear) ? 366 : 365; in handleGetYearLength()
|
D | AnnualTimeZoneRule.java | 128 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { in getStartInYear()
|
/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 | 1497 if (hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value == 6 && count >= 3 ) in subFormat() 1499 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6 && count < 3 ) in subFormat() 2839 if (!hc->isLeapYear(value) && saveHebrewMonth >= 6) { in subParse() 2889 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6) { in subParse() 3336 if (!hc->isLeapYear(hc->get(UCAL_YEAR,status)) && value >= 6) { in subParse()
|
/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/android_icu4j/src/main/java/android/icu/impl/ |
D | Grego.java | 62 public static final boolean isLeapYear(int year) { in isLeapYear() method in Grego 74 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; in monthLength() 100 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom in fieldsToDay() 139 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()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | HebrewTest.java | 473 boolean leapYear = HebrewCalendar.isLeapYear (year); in Test1624()
|