Lines Matching refs:dayOfWeek

1567     int8_t dayOfWeek = (int8_t) uprv_fmod(julian + 1, 7);  in julianDayToDayOfWeek()  local
1569 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
1633 int32_t dayOfWeek = fFields[UCAL_DAY_OF_WEEK]; in computeWeekFields() local
1646 int32_t relDow = (dayOfWeek + 7 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1647 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1662 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
1689 fFields[UCAL_WEEK_OF_MONTH] = weekNumber(dayOfMonth, dayOfWeek); in computeWeekFields()
1698 int32_t Calendar::weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek) in weekNumber() argument
1703 int32_t periodStartDayOfWeek = (dayOfWeek - getFirstDayOfWeek() - dayOfPeriod + 1) % 7; in weekNumber()
2528 Calendar::getDayOfWeekType(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const in getDayOfWeekType() argument
2533 if (dayOfWeek < UCAL_SUNDAY || dayOfWeek > UCAL_SATURDAY) { in getDayOfWeekType()
2538 if (dayOfWeek != fWeekendOnset) in getDayOfWeekType()
2543 if (dayOfWeek < fWeekendOnset || dayOfWeek > fWeekendCease) { in getDayOfWeekType()
2547 if (dayOfWeek > fWeekendCease && dayOfWeek < fWeekendOnset) { in getDayOfWeekType()
2551 if (dayOfWeek == fWeekendOnset) { in getDayOfWeekType()
2554 if (dayOfWeek == fWeekendCease) { in getDayOfWeekType()
2561 Calendar::getWeekendTransition(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const in getWeekendTransition() argument
2566 if (dayOfWeek == fWeekendOnset) { in getWeekendTransition()
2568 } else if (dayOfWeek == fWeekendCease) { in getWeekendTransition()
2600 UCalendarDaysOfWeek dayOfWeek = (UCalendarDaysOfWeek)get(UCAL_DAY_OF_WEEK, status); in isWeekend() local
2601 UCalendarWeekdayType dayType = getDayOfWeekType(dayOfWeek, status); in isWeekend()
2613 int32_t transitionMillis = getWeekendTransition(dayOfWeek, status); in isWeekend()