HomeSort by relevance Sort by last modified time
    Searched refs:isLeapYear (Results 1 - 25 of 41) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
Grego.java 60 public static final boolean isLeapYear(int year) {
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);
GregorianCalendar.java 400 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]);
488 boolean leapYear = isLeapYear(fields[YEAR]);
519 leapYear = isLeapYear(fields[YEAR]);
556 - (isLeapYear(fields[YEAR] - 1) ? 2 : 1)) >= getMinimalDaysInFirstWeek() ? 53
805 boolean leapYear = isLeapYear(year);
    [all...]
SimpleTimeZone.java 390 if (month != Calendar.FEBRUARY || day != 29 || !isLeapYear(year)) {
421 if (startMonth == Calendar.FEBRUARY && isLeapYear(
464 if (endMonth == Calendar.FEBRUARY && isLeapYear(year)) {
499 if (ruleMonth == Calendar.FEBRUARY && isLeapYear(year)) {
580 private boolean isLeapYear(int year) {
    [all...]
  /external/chromium/third_party/icu/source/i18n/
hebrwcal.cpp 231 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) {
478 return isLeapYear(year) ? 13 : 12;
573 UBool isLeap = isLeapYear(year);
648 if (isLeapYear(eyear)) {
gregoimp.h 142 static inline UBool isLeapYear(int32_t year);
258 inline UBool Grego::isLeapYear(int32_t year) {
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
persncal.h 171 static UBool isLeapYear(int32_t year);
chnsecal.cpp 116 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...]
chnsecal.h 134 UBool isLeapYear;
hebrwcal.h 473 static UBool isLeapYear(int32_t year) ;
persncal.cpp 265 UBool PersianCalendar::isLeapYear(int32_t year)
300 return MONTH_COUNT[month][PersianCalendar::isLeapYear(extendedYear)?1:0];
307 return 365 + (PersianCalendar::isLeapYear(extendedYear) ? 1 : 0);
gregoimp.cpp 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
117 UBool isLeap = isLeapYear(year);
  /external/icu4c/i18n/
hebrwcal.cpp 231 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) {
478 return isLeapYear(year) ? 13 : 12;
573 UBool isLeap = isLeapYear(year);
648 if (isLeapYear(eyear)) {
gregoimp.h 142 static inline UBool isLeapYear(int32_t year);
258 inline UBool Grego::isLeapYear(int32_t year) {
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
persncal.h 171 static UBool isLeapYear(int32_t year);
chnsecal.cpp 116 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...]
chnsecal.h 134 UBool isLeapYear;
hebrwcal.h 279 static UBool isLeapYear(int32_t year) ;
persncal.cpp 265 UBool PersianCalendar::isLeapYear(int32_t year)
300 return MONTH_COUNT[month][PersianCalendar::isLeapYear(extendedYear)?1:0];
307 return 365 + (PersianCalendar::isLeapYear(extendedYear) ? 1 : 0);
gregoimp.cpp 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
117 UBool isLeap = isLeapYear(year);
  /external/webkit/JavaScriptCore/wtf/
DateMath.cpp 135 static inline bool isLeapYear(int year)
148 return 365 + isLeapYear(year);
303 static inline int monthToDayInYear(int month, bool isLeapYear)
305 return firstDayOfMonth[isLeapYear][month];
325 int monthday = monthToDayInYear(month, isLeapYear(year));
460 bool leapYear = isLeapYear(year);
969 tm.monthDay = dayInMonthFromDayInYear(tm.yearDay, isLeapYear(year));
970 tm.month = monthFromDayInYear(tm.yearDay, isLeapYear(year));
  /external/webkit/SunSpider/tests/sunspider-0.9/
date-format-xparb.js 77 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/webkit/SunSpider/tests/sunspider-0.9.1/
date-format-xparb.js 77 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/webkit/WebCore/html/
DateComponents.cpp 51 static bool isLeapYear(int year)
67 return isLeapYear(year) ? 29 : 28;
93 return day == Thursday || (day == Wednesday && isLeapYear(m_year)) ? 53 : 52;
476 m_month = monthFromDayInYear(yearDay, isLeapYear(m_year));
477 m_monthDay = dayInMonthFromDayInYear(yearDay, isLeapYear(m_year));
  /external/chromium/third_party/icu/public/i18n/unicode/
gregocal.h 340 UBool isLeapYear(int32_t year) const;
    [all...]
  /external/icu4c/i18n/unicode/
gregocal.h 340 UBool isLeapYear(int32_t year) const;
    [all...]

Completed in 291 milliseconds

1 2