15
AddBusinessDays i GetBusinessDays
Muszę znaleźć 2 eleganckie kompletne implementacje public static DateTime AddBusinessDays(this DateTime date, int days) { // code here } and public static int GetBusinessDays(this DateTime start, DateTime end) { // code here } Preferowane O (1) (bez pętli). EDYCJA: Przez dni robocze rozumiem dni robocze (poniedziałek, wtorek, środa, czwartek, piątek). …