Lines Matching defs:add
165 * max -- if a value in a is negative, add that negative value
543 // -1 b/c the first one should add 0
558 // should do +1 b/c the last one should add 0, but we also
664 rangeEndDateValue, true /* add */, dtSet);
673 dtSet.add(dtvalue);
728 * @param add Whether or not we should add to out, or remove from out.
737 boolean add,
743 // add the dtstart instance to the recurrence, if within range.
745 // then add it here and increment count. If the range is earlier or later,
746 // then don't add it here. In that case, count will be incremented later
752 if (add && dtstartDateValue >= rangeStartDateValue
754 out.add(dtstartDateValue);
988 // filter and then add
1004 // For example, if add is set and dtstartDateValue
1007 // If dtstartDateValue is outside the range or add
1010 && add
1040 if (add) {
1041 out.add(genDateValue);
1160 // If month is after Feb, then add this year's length so that we
1162 // Otherwise (the month is Feb or earlier), add last year's length.