Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dgregocal.cpp634 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth() local
636 if(dom > monthLen) in pinDayOfMonth()
637 set(UCAL_DATE, monthLen); in pinDayOfMonth()
912 double monthLen = cMonthLen * kOneDay; in roll() local
914 amount * kOneDay, monthLen); in roll()
916 msIntoMonth += monthLen; in roll()
998 int32_t monthLen = cMonthLen; in roll() local
999 int32_t ldm = (monthLen - dom + dow) % 7; in roll()
1006 int32_t limit = monthLen + 7 - ldm; in roll()
1018 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.cpp569 SimpleTimeZone::compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen, in compareToRule() argument
581 if (dayOfMonth > monthLen) { in compareToRule()
609 if (ruleDay > monthLen) { in compareToRule()
610 ruleDay = monthLen; in compareToRule()
637 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
638 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
Dcalendar.cpp1913 int32_t monthLen = getActualMaximum(UCAL_DAY_OF_MONTH, status); in roll() local
1914 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7; in roll()
1921 int32_t limit = monthLen + 7 - ldm; in roll()
1932 if (day_of_month > monthLen) day_of_month = monthLen; in roll()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIslamicCalendar.java848 int monthLen = handleGetMonthLength(y, m); in handleComputeFields() local
850 while(d > monthLen) { in handleComputeFields()
851 d -= monthLen; in handleComputeFields()
853 monthLen = handleGetMonthLength(y, m); in handleComputeFields()
DSimpleTimeZone.java823 private int compareToRule(int month, int monthLen, int prevMonthLen, in compareToRule() argument
837 if (dayOfMonth > monthLen) { in compareToRule()
873 if (ruleDay > monthLen) { in compareToRule()
874 ruleDay = monthLen; in compareToRule()
889 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
890 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
DCalendar.java2908 int monthLen = getActualMaximum(DAY_OF_MONTH); in roll() local
2909 int ldm = (monthLen - internalGet(DAY_OF_MONTH) + dow) % 7; in roll()
2916 int limit = monthLen + 7 - ldm; in roll()
2927 if (day_of_month > monthLen) day_of_month = monthLen; in roll()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIslamicCalendar.java876 int monthLen = handleGetMonthLength(y, m); in handleComputeFields() local
878 while(d > monthLen) { in handleComputeFields()
879 d -= monthLen; in handleComputeFields()
881 monthLen = handleGetMonthLength(y, m); in handleComputeFields()
DSimpleTimeZone.java844 private int compareToRule(int month, int monthLen, int prevMonthLen, in compareToRule() argument
858 if (dayOfMonth > monthLen) { in compareToRule()
894 if (ruleDay > monthLen) { in compareToRule()
895 ruleDay = monthLen; in compareToRule()
910 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
911 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
DCalendar.java3007 int monthLen = getActualMaximum(DAY_OF_MONTH); in roll() local
3008 int ldm = (monthLen - internalGet(DAY_OF_MONTH) + dow) % 7; in roll()
3015 int limit = monthLen + 7 - ldm; in roll()
3026 if (day_of_month > monthLen) day_of_month = monthLen; in roll()
/external/icu/icu4c/source/i18n/unicode/
Dsimpletz.h830 static int32_t compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen,