28 references to Days
mscorlib (1)
system\runtime\remoting\soapinteroptypes.cs (1)
271
CarryOver(Math.Abs(timeSpan.
Days
), out years, out months, out days);
System (1)
net\System\Net\mail\SmtpDateTime.cs (1)
415
TimeSpan sanitizedTimeSpan = new TimeSpan(span.
Days
, span.Hours, span.Minutes, 0, 0);
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (3)
867
_value._int32 = date.Subtract(DateTime.MinValue).
Days
;
903
_value._dateTime2Info.date = dateTime.Subtract(DateTime.MinValue).
Days
;
924
_value._dateTimeOffsetInfo.dateTime2Info.date = utcDateTime.Subtract(DateTime.MinValue).
Days
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
6250
long days = value.Subtract(DateTime.MinValue).
Days
;
6255
long days = value.Subtract(DateTime.MinValue).
Days
;
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (2)
516
int days = value.Subtract(DateTime.MinValue).
Days
;
586
int days = utcDateTime.Subtract(DateTime.MinValue).
Days
;
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (1)
245
int day = value.
Days
;
System.Data.Linq (1)
SqlClient\SqlMethods.cs (1)
139
return diff.
Days
;
System.Management (3)
ManagementDatetime.cs (3)
431
string dmtftimespan = timespan.
Days
.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))).PadLeft(8,'0');
437
if(timespan.
Days
> MAXDATE_INTIMESPAN || timespan < TimeSpan.Zero)
449
TimeSpan tsTemp = new TimeSpan(timespan.
Days
,timespan.Hours,timespan.Minutes ,timespan.Seconds ,0);
System.ServiceModel (1)
System\ServiceModel\Administration\WbemProvider.cs (1)
942
new object[] { ts.
Days
, ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds, microSeconds });
System.Web (7)
UI\WebControls\Calendar.cs (7)
1112
int absoluteDay = day.Date.Subtract(baseDate).
Days
;
1372
int startOffset = visibleDate.Subtract(baseDate).
Days
;
1478
int absoluteDay = firstDay.Subtract(baseDate).
Days
;
1535
int daysFromLastDate = maxSupportedDate.Subtract(d).
Days
;
1722
string prevMonthKey = NAVIGATE_MONTH_COMMAND + (prevMonthDate.Subtract(baseDate)).
Days
.ToString(CultureInfo.InvariantCulture);
1784
string nextMonthKey = NAVIGATE_MONTH_COMMAND + (nextMonthDate.Subtract(baseDate)).
Days
.ToString(CultureInfo.InvariantCulture);
1837
if (SelectedDates.Count != ts.
Days
+ 1
System.Web.Mobile (3)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
929
if (selectedDates.Count != ts.
Days
+ 1
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
901
if (selectedDates.Count != ts.
Days
+ 1
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (1)
825
if (selectedDates.Count != ts.
Days
+ 1
System.Windows.Forms (3)
winforms\Managed\System\WinForms\MonthCalendar.cs (3)
827
if ((value - selectionStart).
Days
>= maxSelectionCount) {
871
if ((selectionEnd - value).
Days
>= maxSelectionCount) {
2113
if ((date2 - date1).
Days
>= maxSelectionCount) {