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.cpp662 int monthLen = handleGetMonthLength(y, m); in handleComputeFields() local
664 while(d > monthLen){ in handleComputeFields()
665 d -= monthLen; in handleComputeFields()
667 monthLen = handleGetMonthLength(y, m); in handleComputeFields()
Dsimpletz.cpp572 SimpleTimeZone::compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen, in compareToRule() argument
584 if (dayOfMonth > monthLen) { in compareToRule()
612 if (ruleDay > monthLen) { in compareToRule()
613 ruleDay = monthLen; in compareToRule()
640 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
641 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
Dcalendar.cpp1938 int32_t monthLen = getActualMaximum(UCAL_DAY_OF_MONTH, status); in roll() local
1939 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7; in roll()
1946 int32_t limit = monthLen + 7 - ldm; in roll()
1957 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.h838 static int32_t compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen,