/// <summary>
 /// This is used to expand the yearly frequency by hour
 /// </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 ByHour(Recurrence r, RecurDateTimeCollection dates)
 {
     return(Expand.ByHour(r, dates));
 }