public NthDayOfWeekAfterDayHoliday(string name, int count, DayOfWeek dayOfWeek, DayInYear dayInYear)
     : this(name, count, dayOfWeek, new FixedHoliday(name, dayInYear))
 {
 }
Exemple #2
0
 public FixedHoliday(string name, DayInYear day)
     : this(name, year => day.GetDayOnYear(year))
 {
 }
 public NthDayOfWeekAfterDayHoliday(string name, int count, DayOfWeek dayOfWeek, DayInYear dayInYear)
     : this(name, count, dayOfWeek, new FixedHoliday(name, dayInYear))
 {
 }
 public FixedHoliday(string name, int month, int day, Calendar calendar)
     : base(name)
 {
     this.day = new DayInYear(month, day, calendar);
 }
 public FixedHoliday(string name, DayInYear day)
     : base(name)
 {
     this.day = day;
 }
 public FixedHoliday(string name, DayInYear day)
     : this(name, year => day.GetDayOnYear(year))
 {
 }
Exemple #7
0
 public FixedHoliday(string name, int month, int day, Calendar calendar)
     : base(name)
 {
     this.day = new DayInYear(month, day, calendar);
 }
Exemple #8
0
 public FixedHoliday(string name, DayInYear day)
     : base(name)
 {
     this.day = day;
 }