Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dcalendar.cpp1191 int32_t dowLocal = dow - getFirstDayOfWeek() + 1; in computeGregorianAndDOWFields()
1253 int32_t relDow = (dayOfWeek + 7 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1254 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1310 int32_t periodStartDayOfWeek = (dayOfWeek - getFirstDayOfWeek() - dayOfPeriod + 1) % 7; in weekNumber()
1470 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1528 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1607 leadDays -= (field == UCAL_DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll()
1955 Calendar::getFirstDayOfWeek() const in getFirstDayOfWeek() function in Calendar
1961 Calendar::getFirstDayOfWeek(UErrorCode & /*status*/) const in getFirstDayOfWeek() function in Calendar
2480 int32_t firstDayOfWeek = getFirstDayOfWeek(); // Localized fdw in handleComputeJulianDay()
[all …]
Dgregocal.cpp891 getFirstDayOfWeek()) % 7; in roll()
972 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
Ducal.cpp245 return ((Calendar*)cal)->getFirstDayOfWeek(); in ucal_getAttribute()
/external/icu4c/i18n/unicode/
Dcalendar.h817 EDaysOfWeek getFirstDayOfWeek(void) const;
826 UCalendarDaysOfWeek getFirstDayOfWeek(UErrorCode &status) const;
/external/icu4c/test/intltest/
Dcaltest.cpp333 if (cal->getFirstDayOfWeek() != i) errln("FAIL: set/getFirstDayOfWeek failed"); in TestGenericAPI()
335 …if (cal->getFirstDayOfWeek(aStatus) != i || U_FAILURE(aStatus)) errln("FAIL: getFirstDayOfWeek(sta… in TestGenericAPI()
Dloctest.cpp1346 if (cal->getFirstDayOfWeek(status) != UCAL_MONDAY) { in Test4143951()