public void Post() { this.DateValue = DateValue.AddYears(-1); this.DecimalValue = -DecimalValue; this.BoolValue = !BoolValue; this.Inner.NewDate = this.Inner.NewDate.AddYears(1); }
public void Post() { ClientScript.Alert(this.DateValue.ToString("o")); this.DateValue = DateValue.AddYears(-1); this.DecimalValue = -DecimalValue; this.BoolValue = !BoolValue; this.Inner.NewDate = this.Inner.NewDate.AddYears(1); }
public Date AddYears(int years) { Date output = new Date(DateValue.AddYears(years)); return(output); }