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