/// <summary> /// This is used to expand the yearly frequency by month day /// </summary> /// <param name="r">A reference to the recurrence</param> /// <param name="dates">A reference to the collection of current instances that have been generated</param> /// <returns>The number of instances in the collection. If zero, subsequent rules don't have to be /// checked as there's nothing else to do.</returns> public int ByMonthDay(Recurrence r, RecurDateTimeCollection dates) { return(Expand.ByMonthDay(r, dates)); }
/// <summary> /// This is used to expand the minutely frequency by second /// </summary> /// <param name="r">A reference to the recurrence</param> /// <param name="dates">A reference to the collection of current instances that have been generated</param> /// <returns>The number of instances in the collection. If zero, subsequent rules don't have to be /// checked as there's nothing else to do.</returns> public int BySecond(Recurrence r, RecurDateTimeCollection dates) { return(Expand.BySecond(r, dates)); }
/// <summary> /// This is used to expand the weekly frequency by day of the week /// </summary> /// <param name="r">A reference to the recurrence</param> /// <param name="dates">A reference to the collection of current instances that have been generated</param> /// <returns>The number of instances in the collection. If zero, subsequent rules don't have to be /// checked as there's nothing else to do.</returns> /// <remarks>If an expanded date is invalid, it will be discarded</remarks> public int ByDay(Recurrence r, RecurDateTimeCollection dates) { return(Expand.ByDayInWeeks(r, dates)); }