public static bool IsFuture(this LocalDate date) { return(Date.Today() < date); }
public static uint Age(this LocalDate date) { var age = Date.Today().Year - date.Year; return((uint)(!date.PlusYears(age).IsFuture() || age == 0 ? age : age - 1)); }