Home
last modified time | relevance | path

Searched refs:lastDoy (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DGregorianCalendar.java573 int lastDoy = handleGetYearLength(isoYear); in roll() local
574 int lastRelDow = (lastDoy - isoDoy + internalGet(DAY_OF_WEEK) - in roll()
577 if ((6 - lastRelDow) >= getMinimalDaysInFirstWeek()) lastDoy -= 7; in roll()
578 int lastWoy = weekNumber(lastDoy, lastRelDow + 1); in roll()
DCalendar.java5010 int lastDoy = handleGetYearLength(eyear); in computeWeekFields() local
5017 if (dayOfYear >= (lastDoy - 5)) { in computeWeekFields()
5018 int lastRelDow = (relDow + lastDoy - dayOfYear) % 7; in computeWeekFields()
5023 ((dayOfYear + 7 - relDow) > lastDoy)) { in computeWeekFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGregorianCalendar.java593 int lastDoy = handleGetYearLength(isoYear); in roll() local
594 int lastRelDow = (lastDoy - isoDoy + internalGet(DAY_OF_WEEK) - in roll()
597 if ((6 - lastRelDow) >= getMinimalDaysInFirstWeek()) lastDoy -= 7; in roll()
598 int lastWoy = weekNumber(lastDoy, lastRelDow + 1); in roll()
DCalendar.java5174 int lastDoy = handleGetYearLength(eyear); in computeWeekFields() local
5181 if (dayOfYear >= (lastDoy - 5)) { in computeWeekFields()
5182 int lastRelDow = (relDow + lastDoy - dayOfYear) % 7; in computeWeekFields()
5187 ((dayOfYear + 7 - relDow) > lastDoy)) { in computeWeekFields()
/external/icu/icu4c/source/i18n/
Dgregocal.cpp893 int32_t lastDoy = handleGetYearLength(isoYear); in roll() local
894 int32_t lastRelDow = (lastDoy - isoDoy + internalGet(UCAL_DAY_OF_WEEK) - in roll()
897 if ((6 - lastRelDow) >= getMinimalDaysInFirstWeek()) lastDoy -= 7; in roll()
898 int32_t lastWoy = weekNumber(lastDoy, lastRelDow + 1); in roll()
Dcalendar.cpp1681 int32_t lastDoy = handleGetYearLength(eyear); in computeWeekFields() local
1688 if (dayOfYear >= (lastDoy - 5)) { in computeWeekFields()
1689 int32_t lastRelDow = (relDow + lastDoy - dayOfYear) % 7; in computeWeekFields()
1694 ((dayOfYear + 7 - relDow) > lastDoy)) { in computeWeekFields()