Home
last modified time | relevance | path

Searched refs:monthLen (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/i18n/
Dgregocal.cpp636 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth() local
638 if(dom > monthLen) in pinDayOfMonth()
639 set(UCAL_DATE, monthLen); in pinDayOfMonth()
915 double monthLen = cMonthLen * kOneDay; in roll() local
917 amount * kOneDay, monthLen); in roll()
919 msIntoMonth += monthLen; in roll()
1001 int32_t monthLen = cMonthLen; in roll() local
1002 int32_t ldm = (monthLen - dom + dow) % 7; in roll()
1009 int32_t limit = monthLen + 7 - ldm; in roll()
1021 if (newDom > monthLen) in roll()
[all …]
Dislamcal.cpp664 int monthLen = handleGetMonthLength(y, m); in handleComputeFields() local
666 while(d > monthLen){ in handleComputeFields()
667 d -= monthLen; in handleComputeFields()
669 monthLen = handleGetMonthLength(y, m); in handleComputeFields()
Dsimpletz.cpp571 SimpleTimeZone::compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen, in compareToRule() argument
583 if (dayOfMonth > monthLen) { in compareToRule()
611 if (ruleDay > monthLen) { in compareToRule()
612 ruleDay = monthLen; in compareToRule()
639 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
640 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
Dcalendar.cpp1922 int32_t monthLen = getActualMaximum(UCAL_DAY_OF_MONTH, status); in roll() local
1923 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7; in roll()
1930 int32_t limit = monthLen + 7 - ldm; in roll()
1941 if (day_of_month > monthLen) day_of_month = monthLen; in roll()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIslamicCalendar.java861 int monthLen = handleGetMonthLength(y, m); in handleComputeFields() local
863 while(d > monthLen) { in handleComputeFields()
864 d -= monthLen; in handleComputeFields()
866 monthLen = handleGetMonthLength(y, m); in handleComputeFields()
DSimpleTimeZone.java828 private int compareToRule(int month, int monthLen, int prevMonthLen, in compareToRule() argument
842 if (dayOfMonth > monthLen) { in compareToRule()
878 if (ruleDay > monthLen) { in compareToRule()
879 ruleDay = monthLen; in compareToRule()
894 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
895 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
DCalendar.java2884 int monthLen = getActualMaximum(DAY_OF_MONTH); in roll() local
2885 int ldm = (monthLen - internalGet(DAY_OF_MONTH) + dow) % 7; in roll()
2892 int limit = monthLen + 7 - ldm; in roll()
2903 if (day_of_month > monthLen) day_of_month = monthLen; in roll()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIslamicCalendar.java894 int monthLen = handleGetMonthLength(y, m); in handleComputeFields() local
896 while(d > monthLen) { in handleComputeFields()
897 d -= monthLen; in handleComputeFields()
899 monthLen = handleGetMonthLength(y, m); in handleComputeFields()
DSimpleTimeZone.java849 private int compareToRule(int month, int monthLen, int prevMonthLen, in compareToRule() argument
863 if (dayOfMonth > monthLen) { in compareToRule()
899 if (ruleDay > monthLen) { in compareToRule()
900 ruleDay = monthLen; in compareToRule()
915 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
916 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
DCalendar.java2981 int monthLen = getActualMaximum(DAY_OF_MONTH); in roll() local
2982 int ldm = (monthLen - internalGet(DAY_OF_MONTH) + dow) % 7; in roll()
2989 int limit = monthLen + 7 - ldm; in roll()
3000 if (day_of_month > monthLen) day_of_month = monthLen; in roll()
/external/icu/icu4c/source/i18n/unicode/
Dsimpletz.h834 static int32_t compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen,