11 references to AddYears
PresentationFramework (11)
System\Windows\Controls\Calendar.cs (10)
973
result = DateTimeHelper.
AddYears
(date, offset);
979
result = DateTimeHelper.
AddYears
(this.DisplayDate, offset * YEARS_PER_DECADE);
1364
DateTime? selectedYear = DateTimeHelper.
AddYears
(this.DisplayDate, YEAR_COLS);
1484
DateTime? selectedYear = DateTimeHelper.
AddYears
(this.DisplayDate, moveAmmount);
1504
DateTime? selectedMonth = DateTimeHelper.
AddYears
(this.DisplayDate, 1);
1511
DateTime? selectedYear = DateTimeHelper.
AddYears
(this.DisplayDate, 10 );
1531
DateTime? selectedMonth = DateTimeHelper.
AddYears
(this.DisplayDate, -1);
1538
DateTime? selectedYear = DateTimeHelper.
AddYears
(this.DisplayDate, -10);
1566
DateTime? selectedYear = DateTimeHelper.
AddYears
(this.DisplayDate, moveAmmount);
1692
DateTime? selectedYear = DateTimeHelper.
AddYears
(this.DisplayDate, -YEAR_COLS);
System\Windows\Controls\DateTimeHelper.cs (1)
54
return DateTimeHelper.
AddYears
(date, year - date.Year);