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.java543 int yearLength = monthsInYear(year); in roll() local
544 int newMonth = month + (amount % yearLength); in roll()
661 int yearLength = handleGetYearLength(year); in yearType() local
663 if (yearLength > 380) { in yearType()
664 yearLength -= 30; // Subtract length of leap month. in yearType()
669 switch (yearLength) { in yearType()
677 … throw new IllegalArgumentException("Illegal year length " + yearLength + " in year " + year); in yearType()
DCalendar.java3074 int yearLength = getActualMaximum(DAY_OF_YEAR); in roll() local
3075 time = (time + delta - min2) % (yearLength*ONE_DAY); in roll()
3076 if (time < 0) time += yearLength*ONE_DAY; in roll()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DHebrewCalendar.java519 int yearLength = monthsInYear(year); in roll() local
520 int newMonth = month + (amount % yearLength); in roll()
637 int yearLength = handleGetYearLength(year); in yearType() local
639 if (yearLength > 380) { in yearType()
640 yearLength -= 30; // Subtract length of leap month. in yearType()
645 switch (yearLength) { in yearType()
653 … throw new IllegalArgumentException("Illegal year length " + yearLength + " in year " + year); in yearType()
DCalendar.java2977 int yearLength = getActualMaximum(DAY_OF_YEAR); in roll() local
2978 time = (time + delta - min2) % (yearLength*ONE_DAY); in roll()
2979 if (time < 0) time += yearLength*ONE_DAY; in roll()
/external/icu/icu4c/source/i18n/
Dhebrwcal.cpp323 int32_t yearLength = monthsInYear(year); in roll() local
324 int32_t newMonth = month + (amount % yearLength); in roll()
446 int32_t yearLength = handleGetYearLength(year); in yearType() local
448 if (yearLength > 380) { in yearType()
449 yearLength -= 30; // Subtract length of leap month. in yearType()
454 switch (yearLength) { in yearType()
Dgregocal.cpp612 GregorianCalendar::yearLength(int32_t year) const in yearLength() function in GregorianCalendar
620 GregorianCalendar::yearLength() const in yearLength() function in GregorianCalendar
669 if (days < 1 || days > yearLength()) { in validateFields()
Dcalendar.cpp2021 double yearLength = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local
2022 double oneYear = yearLength; in roll()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h565 int32_t yearLength(int32_t year) const;
572 int32_t yearLength(void) const;