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