47 references to AddDays
mscorlib (8)
system\currenttimezone.cs (2)
277time = time.AddDays(delta); 293time = time.AddDays(-delta);
system\datetimeoffset.cs (1)
376return new DateTimeOffset(ClockDateTime.AddDays(days), Offset);
system\globalization\calendar.cs (2)
599if (time <= MinSupportedDateTime.AddDays(dayOfYear)) 603return (GetWeekOfYearFullDays(time.AddDays(-(dayOfYear + 1)), firstDayOfWeek, fullDays));
system\globalization\umalquracalendar.cs (1)
361dt = dt.AddDays(nDays);
system\timezoneinfo.cs (2)
2238value = value.AddDays(delta); 2257value = value.AddDays(-delta);
PresentationFramework (3)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
580nextDate = startDate.AddDays(1); 608startDate = startDate.AddDays(1);
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (1)
44this.Add(new CalendarDateRange(DateTime.MinValue, DateTime.Today.AddDays(-1)));
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
182return DateTime.MinValue.AddDays(_value._int32);
System.Web (13)
httpserverutility.cs (4)
1514if (dt < DateTime.MaxValue.AddDays(-1) && dt > DateTime.MinValue.AddDays(1)) 1524if (dt < DateTime.MaxValue.AddDays(-1) && dt > DateTime.MinValue.AddDays(1))
Profile\ProfileManager.cs (1)
105return Provider.GetNumberOfInactiveProfiles(authenticationOption, DateTime.Now.AddDays(1)); //
StaticFileHandler.cs (1)
559response.Cache.SetExpires(utcNow.AddDays(1));
UI\WebControls\Calendar.cs (4)
1171VisibleDate = baseDate.AddDays(newDateDiff); 1192DateTime dt = baseDate.AddDays(dayDiff); 1193SelectRange(dt, dt.AddDays(dayRange - 1)); 1198DateTime dt = baseDate.AddDays(dayDiff);
UI\WebControls\SelectedDatesCollection.cs (1)
171date = date.AddDays(1);
Util\DateTimeUtil.cs (2)
23static readonly DateTime MinValuePlusOneDay = DateTime.MinValue.AddDays(1); 24static readonly DateTime MaxValueMinusOneDay = DateTime.MaxValue.AddDays(-1);
System.Web.DataVisualization (9)
Common\DataManager\DataSeries.cs (5)
996DateTime[] dateValues = { DateTime.Now.Date, DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), DateTime.Now.Date.AddDays(4), DateTime.Now.Date.AddDays(4) };
Common\General\ChartElement.cs (2)
1076newStartDate = newStartDate.AddDays(-((int)newStartDate.DayOfWeek)); 1330 date = date.AddDays(daysInMobth - date.Day);
Common\General\Label.cs (2)
306labelEnd = DateTime.FromOADate(labelStart).AddDays(labelsStep).ToOADate(); 310labelEnd = DateTime.FromOADate(labelStart).AddDays(7 * labelsStep).ToOADate();
System.Windows.Forms (4)
winforms\Managed\System\WinForms\MonthCalendar.cs (4)
828selectionStart = value.AddDays(1 - maxSelectionCount); 872selectionEnd = value.AddDays(maxSelectionCount - 1); 2118date1 = date2.AddDays(1 - maxSelectionCount); 2123date2 = date1.AddDays(maxSelectionCount - 1);
System.Windows.Forms.DataVisualization (9)
Common\DataManager\DataSeries.cs (5)
996DateTime[] dateValues = { DateTime.Now.Date, DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), DateTime.Now.Date.AddDays(4), DateTime.Now.Date.AddDays(4) };
Common\General\ChartElement.cs (2)
1076newStartDate = newStartDate.AddDays(-((int)newStartDate.DayOfWeek)); 1330 date = date.AddDays(daysInMobth - date.Day);
Common\General\Label.cs (2)
306labelEnd = DateTime.FromOADate(labelStart).AddDays(labelsStep).ToOADate(); 310labelEnd = DateTime.FromOADate(labelStart).AddDays(7 * labelsStep).ToOADate();