/// <summary> /// Initializes a new instance of the <see cref="BusinessCalendar"/> class. /// </summary> /// <param name="dateRuleParser">Name(s) of the calendar.</param> /// <param name="businessCentreHolidays">The list of significant days for this joint set of holidays..</param> public BusinessCalendar(List <SignificantDay> businessCentreHolidays, IDateRuleParser dateRuleParser) : base(businessCentreHolidays, dateRuleParser) { }
/// <summary> /// Initializes a new instance of the <see cref="BaseCalendar"/> class. /// </summary> /// <param name="significantDates">The significant Dates.</param> /// <param name="dateRuleParser">The date Rule Parser.</param> protected BaseCalendar(List <SignificantDay> significantDates, IDateRuleParser dateRuleParser) { DateRuleParser = dateRuleParser; SignificantDates = significantDates; }