Lines Matching defs:instance
317 * @returns true if this instance should be kept
319 private static boolean filterMonthlySetPos(EventRecurrence r, Time instance) {
321 * Compute the day of the week for the first day of the month. "instance" has a
325 * The basic calculation is to take the instance's "day of the week" number, subtract
329 int dotw = (instance.weekDay - instance.monthDay + 36) % 7;
344 int maxDay = instance.getActualMaximum(Time.MONTH_DAY);
362 * Now walk through the BYSETPOS list and see if the instance is equal to any of the
371 if (daySet[index-1] == instance.monthDay) {
378 if (daySet[daySetLength + index] == instance.monthDay) {
743 // add the dtstart instance to the recurrence, if within range.
750 // NOTE: if DTSTART is not synchronized with the recurrence rule, the first instance
997 // as the first instance