Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dcalendar.cpp1339 int32_t dowLocal = dow - getFirstDayOfWeek() + 1; in computeGregorianAndDOWFields()
1397 int32_t relDow = (dayOfWeek + 7 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1398 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1454 int32_t periodStartDayOfWeek = (dayOfWeek - getFirstDayOfWeek() - dayOfPeriod + 1) % 7; in weekNumber()
1614 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1672 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1751 leadDays -= (field == UCAL_DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll()
2101 Calendar::getFirstDayOfWeek() const in getFirstDayOfWeek() function in Calendar
2107 Calendar::getFirstDayOfWeek(UErrorCode & /*status*/) const in getFirstDayOfWeek() function in Calendar
2749 int32_t firstDayOfWeek = getFirstDayOfWeek(); // Localized fdw in handleComputeJulianDay()
[all …]
Dgregocal.cpp892 getFirstDayOfWeek()) % 7; in roll()
973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
Ducal.cpp312 return ((Calendar*)cal)->getFirstDayOfWeek(); in ucal_getAttribute()
/external/icu4c/i18n/unicode/
Dcalendar.h848 EDaysOfWeek getFirstDayOfWeek(void) const;
857 UCalendarDaysOfWeek getFirstDayOfWeek(UErrorCode &status) const;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCalendarTest.java659 .getFirstDayOfWeek()); in test_getInstance()
661 .getFirstDayOfWeek()); in test_getInstance()
/external/icu4c/test/intltest/
Dcaltest.cpp375 if (cal->getFirstDayOfWeek() != i) errln("FAIL: set/getFirstDayOfWeek failed"); in TestGenericAPI()
377 …if (cal->getFirstDayOfWeek(aStatus) != i || U_FAILURE(aStatus)) errln("FAIL: getFirstDayOfWeek(sta… in TestGenericAPI()
Dloctest.cpp1382 if (cal->getFirstDayOfWeek(status) != UCAL_MONDAY) { in Test4143951()