Ejemplo n.º 1
0
        private TkTimeSet GetVacancy(long weekNumber, TkTimeSet busy)
        {
            var workWeekTs = TkTimeSet.WorkWeek(weekNumber);
            var vacancy    = TkTimeSet.Difference(workWeekTs, busy);

            return(vacancy);
        }
Ejemplo n.º 2
0
        private TkTimeSet GetVacancy(DateTime start, DateTime end, TkTimeSet busy, TkWorkWeekConfig config)
        {
            var workWeeks = TkTimeSet.WorkWeeks(start, end, config);
            var vacancy   = TkTimeSet.Difference(workWeeks, busy);

            return(vacancy);
        }