Esempio n. 1
0
 public static int GetPersonAge(this DateTime birthDate)
 {
     return(Dates.GetPersonAge(birthDate, DateTime.Now));
 }
Esempio n. 2
0
 public static DateTime GetLastBusinessDayOfMonth(this DateTime date)
 {
     return(Dates.GetLastBusinessDay(date.Year, date.Month));
 }