public static int ToIntAge(this Nullable <System.DateTime> value) { if (value != null) { return(Extensions.ToIntAge(value.Value)); } else { return(0); } }