Ejemplo n.º 1
0
 public void Post()
 {
     this.DateValue     = DateValue.AddYears(-1);
     this.DecimalValue  = -DecimalValue;
     this.BoolValue     = !BoolValue;
     this.Inner.NewDate = this.Inner.NewDate.AddYears(1);
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        public Date AddYears(int years)
        {
            Date output = new Date(DateValue.AddYears(years));

            return(output);
        }