34 references to AddDays
mscorlib (1)
system\globalization\calendar.cs (1)
359
return (
AddDays
(time, weeks * 7));
PresentationFramework (2)
src\Framework\System\Windows\Controls\DateTimeHelper.cs (1)
22
return cal.
AddDays
(time, days);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
1065
DateTime dateToAdd = _calendar.
AddDays
(firstDayOfMonth, dayOffset);
System.Web (4)
UI\WebControls\Calendar.cs (4)
911
return threadCalendar.
AddDays
(visDate, -(threadCalendar.GetDayOfMonth(visDate) - 1));
931
return threadCalendar.
AddDays
(firstDayOfMonth, -daysFromLastMonth);
1177
VisibleDate = DateTimeFormatInfo.CurrentInfo.Calendar.
AddDays
(VisibleDate, 1);
1655
d = threadCalendar.
AddDays
(d, 1);
System.Web.Mobile (27)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (9)
513
tempDate = _threadCalendar.
AddDays
(tempDate, 6);
516
tempDate = _threadCalendar.
AddDays
(tempDate, 1);
565
tempDate = _threadCalendar.
AddDays
(tempDate, 1);
788
return _threadCalendar.
AddDays
(
807
return _threadCalendar.
AddDays
(firstDayOfMonth, -daysFromLastMonth);
873
endDate = _threadCalendar.
AddDays
(endDate, -1);
893
Control.VisibleDate = _threadCalendar.
AddDays
(tempDate, e.ListItem.Index * 7);
898
DateTime endDate = _threadCalendar.
AddDays
(Control.VisibleDate, 6);
915
Control.VisibleDate = _threadCalendar.
AddDays
(Control.VisibleDate, e.ListItem.Index);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (9)
495
tempDate = _threadCalendar.
AddDays
(tempDate, 6);
498
tempDate = _threadCalendar.
AddDays
(tempDate, 1);
547
tempDate = _threadCalendar.
AddDays
(tempDate, 1);
765
return _threadCalendar.
AddDays
(
784
return _threadCalendar.
AddDays
(firstDayOfMonth, -daysFromLastMonth);
845
endDate = _threadCalendar.
AddDays
(endDate, -1);
865
Control.VisibleDate = _threadCalendar.
AddDays
(tempDate, e.ListItem.Index * 7);
870
DateTime endDate = _threadCalendar.
AddDays
(Control.VisibleDate, 6);
887
Control.VisibleDate = _threadCalendar.
AddDays
(Control.VisibleDate, e.ListItem.Index);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (9)
455
tempDate = _threadCalendar.
AddDays
(tempDate, 6);
458
tempDate = _threadCalendar.
AddDays
(tempDate, 1);
502
tempDate = _threadCalendar.
AddDays
(tempDate, 1);
700
return _threadCalendar.
AddDays
(
717
return _threadCalendar.
AddDays
(firstDayOfMonth, -daysFromLastMonth);
775
endDate = _threadCalendar.
AddDays
(endDate, -1);
793
Control.VisibleDate = _threadCalendar.
AddDays
(tempDate, e.ListItem.Index * 7);
797
DateTime endDate = _threadCalendar.
AddDays
(Control.VisibleDate, 6);
812
Control.VisibleDate = _threadCalendar.
AddDays
(Control.VisibleDate, e.ListItem.Index);