public Nullable <DateTime> getT_TwelveMonthDue() { if (calc_T_TwelveMonthDue == null) { if (T_HireDate != null) { calc_T_TwelveMonthDue = (T_HireDate.AddMonths(Convert.ToInt32(12))); } else { calc_T_TwelveMonthDue = null; }; } return(calc_T_TwelveMonthDue); }
public void setCalculation() { try{ this.calc_T_ThreeMonthDue = this.calc_T_ThreeMonthDue = this.T_ThreeMonthDue = (T_HireDate.AddMonths(Convert.ToInt32(3))); this.calc_T_SixMonthDue = this.calc_T_SixMonthDue = this.T_SixMonthDue = (T_HireDate.AddMonths(Convert.ToInt32(6))); this.calc_T_TwelveMonthDue = this.calc_T_TwelveMonthDue = this.T_TwelveMonthDue = (T_HireDate.AddMonths(Convert.ToInt32(12))); }catch {} }