calendar-sum

calendar-sum is a Lisp macro in `calendar.el'.

(calendar-sum INDEX INITIAL CONDITION EXPRESSION)

For INDEX = INITIAL, +1, ... (as long as CONDITION holds), sum EXPRESSION.