Home
last modified time | relevance | path

Searched refs:yearLength (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java541 int yearLength = monthsInYear(year); in roll() local
542 int newMonth = month + (amount % yearLength); in roll()
659 int yearLength = handleGetYearLength(year); in yearType() local
661 if (yearLength > 380) { in yearType()
662 yearLength -= 30; // Subtract length of leap month. in yearType()
667 switch (yearLength) { in yearType()
675 … throw new IllegalArgumentException("Illegal year length " + yearLength + " in year " + year); in yearType()
DCalendar.java3100 int yearLength = getActualMaximum(DAY_OF_YEAR); in roll() local
3101 time = (time + delta - min2) % (yearLength*ONE_DAY); in roll()
3102 if (time < 0) time += yearLength*ONE_DAY; in roll()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DHebrewCalendar.java517 int yearLength = monthsInYear(year); in roll() local
518 int newMonth = month + (amount % yearLength); in roll()
635 int yearLength = handleGetYearLength(year); in yearType() local
637 if (yearLength > 380) { in yearType()
638 yearLength -= 30; // Subtract length of leap month. in yearType()
643 switch (yearLength) { in yearType()
651 … throw new IllegalArgumentException("Illegal year length " + yearLength + " in year " + year); in yearType()
DCalendar.java3001 int yearLength = getActualMaximum(DAY_OF_YEAR); in roll() local
3002 time = (time + delta - min2) % (yearLength*ONE_DAY); in roll()
3003 if (time < 0) time += yearLength*ONE_DAY; in roll()
/external/icu/icu4c/source/i18n/
Dhebrwcal.cpp320 int32_t yearLength = monthsInYear(year); in roll() local
321 int32_t newMonth = month + (amount % yearLength); in roll()
443 int32_t yearLength = handleGetYearLength(year); in yearType() local
445 if (yearLength > 380) { in yearType()
446 yearLength -= 30; // Subtract length of leap month. in yearType()
451 switch (yearLength) { in yearType()
Dgregocal.cpp610 GregorianCalendar::yearLength(int32_t year) const in yearLength() function in GregorianCalendar
618 GregorianCalendar::yearLength() const in yearLength() function in GregorianCalendar
667 if (days < 1 || days > yearLength()) { in validateFields()
Dcalendar.cpp2012 double yearLength = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local
2013 double oneYear = yearLength; in roll()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h563 int32_t yearLength(int32_t year) const;
570 int32_t yearLength(void) const;