public Nullable <DateTime> getT_NinetyDaysSinceAccommodation() { if (calc_T_NinetyDaysSinceAccommodation == null) { if (T_AccommodationStartDate != null) { calc_T_NinetyDaysSinceAccommodation = (T_AccommodationStartDate.AddDays(Convert.ToDouble(90))); } else { calc_T_NinetyDaysSinceAccommodation = null; }; } return(calc_T_NinetyDaysSinceAccommodation); }
public void setCalculation() { try{ this.calc_T_NinetyDaysSinceAccommodation = this.calc_T_NinetyDaysSinceAccommodation = this.T_NinetyDaysSinceAccommodation = (T_AccommodationStartDate.AddDays(Convert.ToDouble(90))); }catch {} }