Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java545 int yearLength = monthsInYear(year); in roll() local
546 int newMonth = month + (amount % yearLength); in roll()
664 int yearLength = handleGetYearLength(year); in yearType() local
666 if (yearLength > 380) { in yearType()
667 yearLength -= 30; // Subtract length of leap month. in yearType()
672 switch (yearLength) { in yearType()
680 … throw new IllegalArgumentException("Illegal year length " + yearLength + " in year " + year); in yearType()
DCalendar.java3075 int yearLength = getActualMaximum(DAY_OF_YEAR); in roll() local
3076 time = (time + delta - min2) % (yearLength*ONE_DAY); in roll()
3077 if (time < 0) time += yearLength*ONE_DAY; in roll()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/source/i18n/
Dhebrwcal.cpp323 int32_t yearLength = monthsInYear(year); in roll() local
324 int32_t newMonth = month + (amount % yearLength); in roll()
447 int32_t yearLength = handleGetYearLength(year); in yearType() local
449 if (yearLength > 380) { in yearType()
450 yearLength -= 30; // Subtract length of leap month. in yearType()
455 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.cpp2037 double yearLength = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local
2038 double oneYear = yearLength; in roll()
/third_party/skia/third_party/externals/icu/source/i18n/
Dhebrwcal.cpp323 int32_t yearLength = monthsInYear(year); in roll() local
324 int32_t newMonth = month + (amount % yearLength); in roll()
447 int32_t yearLength = handleGetYearLength(year); in yearType() local
449 if (yearLength > 380) { in yearType()
450 yearLength -= 30; // Subtract length of leap month. in yearType()
455 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.cpp2037 double yearLength = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local
2038 double oneYear = yearLength; in roll()
/third_party/icu/icu4c/source/i18n/
Dhebrwcal.cpp323 int32_t yearLength = monthsInYear(year); in roll() local
324 int32_t newMonth = month + (amount % yearLength); in roll()
447 int32_t yearLength = handleGetYearLength(year); in yearType() local
449 if (yearLength > 380) { in yearType()
450 yearLength -= 30; // Subtract length of leap month. in yearType()
455 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.cpp2037 double yearLength = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local
2038 double oneYear = yearLength; in roll()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dgregocal.h569 int32_t yearLength(int32_t year) const;
576 int32_t yearLength(void) const;
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dgregocal.h565 int32_t yearLength(int32_t year) const;
572 int32_t yearLength(void) const;
/third_party/icu/icu4c/source/i18n/unicode/
Dgregocal.h569 int32_t yearLength(int32_t year) const;
576 int32_t yearLength(void) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
Dgregocal.h569 int32_t yearLength(int32_t year) const;
576 int32_t yearLength(void) const;