Example #1
0
 public StatefullDayCalculator(DateTime day, IDayDataProvider dataProvider, IDayWorktimeProvider worktimeProvider)
     : base(worktimeProvider)
 {
     this.day          = day;
     this.dataProvider = dataProvider;
 }
Example #2
0
 public StatefullDayCalculator(DateTime day, IDayDataProvider dataProvider, IDayWorktimeProvider worktimeProvider)
     : base(worktimeProvider)
 {
     this.day = day;
     this.dataProvider = dataProvider;
 }
Example #3
0
 public MonthCalculator(DateTime date, IDayDataProvider dataProvider, IDayWorktimeProvider worktimeProvider)
 {
     this.date     = date;
     dayCalculator = new ClosedDayCalculator(dataProvider, worktimeProvider);
     InitDaysList();
 }
Example #4
0
 public ClosedDayCalculator(IDayDataProvider dataProvider, IDayWorktimeProvider worktimeProvider)
     : base(worktimeProvider)
 {
     this.dataProvider = dataProvider;
 }
Example #5
0
 public ClosedDayCalculator(IDayDataProvider dataProvider, IDayWorktimeProvider worktimeProvider)
     : base(worktimeProvider)
 {
     this.dataProvider = dataProvider;
 }
Example #6
0
 public MonthCalculator(DateTime date, IDayDataProvider dataProvider, IDayWorktimeProvider worktimeProvider)
 {
     this.date = date;
     dayCalculator = new ClosedDayCalculator(dataProvider, worktimeProvider);
     InitDaysList();
 }