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

/external/icu/icu4c/source/i18n/
H A Dchnsecal.h153 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.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 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 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/icu/android_icu4j/src/main/java/android/icu/impl/
H A DGrego.java62 public static final boolean isLeapYear(int year) { method in class:Grego
74 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
100 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
139 boolean isLeap = isLeapYear(year);
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DPersianCalendar.java310 private final static boolean isLeapYear(int year) method in class:PersianCalendar
341 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0];
352 return isLeapYear(extendedYear) ? 366 : 365;
H A DGregorianCalendar.java198 * functions such as isLeapYear() are not intended to be historically
508 public boolean isLeapYear(int year) { method in class:GregorianCalendar
707 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0];
713 return isLeapYear(eyear) ? 366 : 365;
H A DHebrewCalendar.java440 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) {
454 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) {
516 boolean leapYear = isLeapYear(year);
598 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) {
604 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
667 public static boolean isLeapYear(int year) { method in class:HebrewCalendar
674 return isLeapYear(year) ? 13 : 12;
735 if (field == MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(MONTH) == ADAR_1) {
782 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START;
837 if (isLeapYear(eyea
[all...]
H A DChineseCalendar.java138 private transient boolean isLeapYear; field in class:ChineseCalendar
576 if (isLeapYear) { // (member variable)
598 int n = isLeapYear ? 13 : 12; // Months in this year
823 * <p>As a side effect, this method sets {@link #isLeapYear}.
854 // Note: isLeapYear is a member variable
855 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12;
858 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) {
865 boolean isLeapMonth = isLeapYear &&
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DGrego.java60 public static final boolean isLeapYear(int year) { method in class:Grego
72 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
98 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
137 boolean isLeap = isLeapYear(year);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DPersianCalendar.java308 private final static boolean isLeapYear(int year) method in class:PersianCalendar
339 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0];
350 return isLeapYear(extendedYear) ? 366 : 365;
H A DGregorianCalendar.java198 * functions such as isLeapYear() are not intended to be historically
525 public boolean isLeapYear(int year) { method in class:GregorianCalendar
730 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0];
737 return isLeapYear(eyear) ? 366 : 365;
H A DHebrewCalendar.java463 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) {
477 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) {
540 boolean leapYear = isLeapYear(year);
622 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) {
628 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
690 public static boolean isLeapYear(int year) { method in class:HebrewCalendar
697 return isLeapYear(year) ? 13 : 12;
760 if (field == MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(MONTH) == ADAR_1) {
808 int monthStart[][] = isLeapYear(year) ? LEAP_MONTH_START : MONTH_START;
865 if (isLeapYear(eyea
[all...]
H A DChineseCalendar.java138 private transient boolean isLeapYear; field in class:ChineseCalendar
594 if (isLeapYear) { // (member variable)
616 int n = isLeapYear ? 13 : 12; // Months in this year
842 * <p>As a side effect, this method sets {@link #isLeapYear}.
873 // Note: isLeapYear is a member variable
874 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12;
877 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) {
884 boolean isLeapMonth = isLeapYear &&
/external/caliper/lib/
H A Djoda-time-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/joda/ org/joda/time/ org/joda/time/base/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/guice/lib/build/jdiff/
H A Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/xml/ javax/xml/parsers/ META-INF/services/ ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 322 milliseconds