コード例 #1
0
        //Създава обект, който изчислява работните дати между две дати.
        static void CreateWorkingDates(string firstDate, string secondDate)
        {
            WorkingDates workingDate = new WorkingDates(firstDate, secondDate);

            workingDate.DateOne = firstDate;
            workingDate.DateTwo = secondDate;

            PrintWorkingDate(workingDate);
        }
コード例 #2
0
 //Принтира броя на работните дати.
 static void PrintWorkingDate(WorkingDates workinfDate)
 {
     workinfDate.CalculateWorkintDates();
 }