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

1 2 3

  /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 390 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]);
486 boolean leapYear = isLeapYear(fields[YEAR]);
517 leapYear = isLeapYear(fields[YEAR]);
554 - (isLeapYear(fields[YEAR] - 1) ? 2 : 1)) >= getMinimalDaysInFirstWeek() ? 53
688 boolean leapYear = isLeapYear(year);
752 && (fields[DAY_OF_YEAR] < 1 || fields[DAY_OF_YEAR] > (365 + (isLeapYear(year) ? 1
831 return daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]);
843 int daysInYear = isLeapYear(year) ? 366 : 365;
    [all...]
SimpleTimeZone.java 347 if (month != Calendar.FEBRUARY || day != 29 || !isLeapYear(year)) {
376 if (startMonth == Calendar.FEBRUARY && isLeapYear(
419 if (endMonth == Calendar.FEBRUARY && isLeapYear(year)) {
454 if (ruleMonth == Calendar.FEBRUARY && isLeapYear(year)) {
530 private boolean isLeapYear(int year) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
DateMath.h 71 WTF_EXPORT bool isLeapYear(int year);
87 using WTF::isLeapYear;
DateMath.cpp 126 bool isLeapYear(int year)
139 return 365 + isLeapYear(year);
287 return firstDayOfMonth[isLeapYear(year)][month] + day - 1;
444 bool leapYear = isLeapYear(year);
  /external/chromium_org/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 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);
  /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.cpp 108 UBool PersianCalendar::isLeapYear(int32_t year)
151 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month];
158 return isLeapYear(extendedYear) ? 366 : 365;
persncal.h 171 static UBool isLeapYear(int32_t year);
chnsecal.cpp 122 isLeapYear(FALSE),
132 isLeapYear(FALSE),
140 isLeapYear = other.isLeapYear;
424 if (isLeapYear) { // (member variable)
447 int32_t n = isLeapYear ? 13 : 12; // Months in this year
666 * <p>As a side effect, this method sets {@link #isLeapYear}.
697 // Note: isLeapYear is a member variable
698 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12;
701 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon))
    [all...]
hebrwcal.h 279 static UBool isLeapYear(int32_t year) ;
chnsecal.h 153 UBool isLeapYear;
  /external/chromium_org/third_party/WebKit/PerformanceTests/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/chromium_org/third_party/WebKit/PerformanceTests/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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
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;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DateUtils.java 259 (isFeb29 && !anniversary.isLeapYear(anniversaryYear))) {
265 } while (isFeb29 && !anniversary.isLeapYear(anniversaryYear));
  /external/chromium_org/third_party/WebKit/Source/platform/
DateComponents.cpp 61 return isLeapYear(year) ? 29 : 28;
87 return day == Thursday || (day == Wednesday && isLeapYear(m_year)) ? maximumWeekNumber : maximumWeekNumber - 1;
507 m_month = monthFromDayInYear(yearDay, isLeapYear(m_year));
508 m_monthDay = dayInMonthFromDayInYear(yearDay, isLeapYear(m_year));
  /external/chromium_org/third_party/icu/source/i18n/unicode/
gregocal.h 340 UBool isLeapYear(int32_t year) const;
    [all...]

Completed in 3343 milliseconds

1 2 3