/// <summary>
 /// Constructs a <b>DelegatedWeekend</b> instance that will use the
 /// indicated <b>WeekendDelegate</b> to test dates. 
 /// </summary>
 /// <param name="name">The name used to reference this instance.</param>
 /// <param name="function">A <see cref="WeekendDelegate"/> for the test function.</param>
 public DelegatedWeekend(string name, WeekendDelegate function)
     : base(name)
 {
     this.function = function;
 }
 /// <summary>
 /// Constructs a <b>DelegatedWeekend</b> instance that will use the
 /// indicated <b>WeekendDelegate</b> to test dates.
 /// </summary>
 /// <param name="name">The name used to reference this instance.</param>
 /// <param name="function">A <see cref="WeekendDelegate"/> for the test function.</param>
 public DelegatedWeekend(string name, WeekendDelegate function)
     : base(name)
 {
     this.function = function;
 }