98 references to Day
mscorlib (9)
system\datetime.cs (3)
246if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, 60, DateTimeKind.Unspecified)) 330if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, 60, DateTimeKind.Unspecified)) 365if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, 60, kind))
system\datetimeoffset.cs (4)
114!DateTime.IsValidTimeWithLeapSeconds(m_dateTime.Year, m_dateTime.Month, m_dateTime.Day, m_dateTime.Hour, m_dateTime.Minute, 60, DateTimeKind.Utc)) 135!DateTime.IsValidTimeWithLeapSeconds(m_dateTime.Year, m_dateTime.Month, m_dateTime.Day, m_dateTime.Hour, m_dateTime.Minute, 60, DateTimeKind.Utc)) 157!DateTime.IsValidTimeWithLeapSeconds(m_dateTime.Year, m_dateTime.Month, m_dateTime.Day, m_dateTime.Hour, m_dateTime.Minute, 60, DateTimeKind.Utc)) 238return ClockDateTime.Day;
system\globalization\gregoriancalendar.cs (1)
346return time.Day;
system\security\cryptography\x509certificates\x509certificate.cs (1)
460if (!culture.DateTimeFormat.Calendar.IsValidDay(date.Year, date.Month, date.Day, 0)) {
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
261fwlink = String.Concat(fwlink, today.Day.ToString());
src\Framework\System\Windows\Controls\DatePicker.cs (1)
1029int day = discarded.Day;
src\Framework\System\Windows\Controls\DateTimeHelper.cs (1)
200result = date.Value.Day.ToString(format);
System (2)
compmod\system\componentmodel\DateTimeConverter.cs (1)
143dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second, dt.Millisecond});
net\System\Net\mail\MailBnfHelper.cs (1)
267localBuilder.Append(value.Day);
System.Activities (1)
System\Activities\Expressions\Literal.cs (1)
120literalValue.Day,
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
331unchecked((short)value.Day),
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (2)
598unchecked((short)value.Day), 638unchecked((short)value.Day),
System.Data.SqlXml (4)
System\Xml\Xsl\Runtime\XsltFunctions.cs (4)
321this.Day = (ushort)dateTime.Day; 449ShortToCharArray(text, 8, dt.Day ); 452ShortToCharArray(text, 8, dt.Day ); 517ShortToCharArray(text, 8, dt.Day );
System.Management (3)
ManagementDatetime.cs (3)
114 int day = DateTime.MinValue.Day; 286 dmtfDateTime = (dmtfDateTime + date.Day.ToString(frmInt32).PadLeft(2, '0')); 294 DateTime dtTemp = new DateTime(date.Year ,date.Month,date.Day ,date.Hour ,date.Minute ,date.Second,0);
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
1086offset += ToCharsD2(value.Day, chars, offset);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
31wDay = (short)date.Day;
System\ServiceModel\Security\SecurityTimestamp.cs (1)
114ToChars(utcTime.Day, buffer, ref offset, 2);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
38this.serviceLastModified = new DateTime(this.serviceLastModified.Year, this.serviceLastModified.Month, this.serviceLastModified.Day, this.serviceLastModified.Hour, this.serviceLastModified.Minute, this.serviceLastModified.Second, DateTimeKind.Utc);
System.Web (4)
Security\SQLMembershipProvider.cs (1)
1895return new DateTime(utcDateTime.Year, utcDateTime.Month, utcDateTime.Day, utcDateTime.Hour, utcDateTime.Minute, utcDateTime.Second, DateTimeKind.Utc);
StaticFileHandler.cs (1)
514fileInfo.LastWriteTimeUtc.Day,
UI\WebControls\Calendar.cs (2)
1651if (lastOrSecondLastMonth && d.Month == maxSupportedDate.Month && d.Day == maxSupportedDate.Day) {
System.Web.DataVisualization (21)
Common\DataManager\DataPoint.cs (2)
2131 ((DateTime)xValue).Day, 2299 yDate.Day,
Common\General\ChartAreaAxes.cs (2)
1977 ticksInterval += (date2.Day - date1.Day) * TimeSpan.TicksPerDay;
Common\General\ChartElement.cs (15)
1023 int day = (int)((int)(newStartDate.Day / intervalSize) * intervalSize); 1035 newStartDate.Month, newStartDate.Day, hour, 0, 0); 1042 newStartDate.Day, 1052 newStartDate.Day, 1063 newStartDate.Day, 1078 newStartDate.Month, newStartDate.Day, 0, 0, 0); 1203 dateValue.Month, dateValue.Day, 0, 0, 0); 1208 dateValue.Month, dateValue.Day, 0, 0, 0); 1213 dateValue.Month, dateValue.Day, 0, 0, 0); 1218 dateValue.Month, dateValue.Day, dateValue.Hour, 1225 dateValue.Day, 1234 dateValue.Day, 1243 dateValue.Month, dateValue.Day, 0, 0, 0); 1316 if(date.Day == DateTime.DaysInMonth(date.Year, date.Month)) 1330 date = date.AddDays(daysInMobth - date.Day);
Common\General\DataManipulator.cs (2)
1640 if(dateTimeValue.Day >= rangeElements[index] && 1641 dateTimeValue.Day <= rangeElements[index+1])
System.Web.Extensions (1)
Script\Services\WebServiceClientProxyGenerator.cs (1)
29return new DateTime(writeTime.Year, writeTime.Month, writeTime.Day, writeTime.Hour, writeTime.Minute, writeTime.Second);
System.Windows.Forms (10)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1716sys.wDay = (short)time.Day;
winforms\Managed\System\WinForms\MonthCalendar.cs (9)
294monthsOfYear[value[i].Month-1] |= 0x00000001<<(value[i].Day-1); 688datesToBoldMonthly |= 0x00000001<<(value[i].Day-1); 1180monthsOfYear[date.Month-1] |= 0x00000001<<(date.Day-1); 1201datesToBoldMonthly |= 0x00000001<<(date.Day-1); 1342e.DaysToBold[index] |= (0x00000001<<(date.Day-1)); 1357return(t1.Day == t2.Day && t1.Month == t2.Month); 1795monthsOfYear[date.Month-1] &= ~(0x00000001<<(date.Day-1)); 1839datesToBoldMonthly &= ~(0x00000001<<(date.Day-1));
System.Windows.Forms.DataVisualization (21)
Common\DataManager\DataPoint.cs (2)
2131 ((DateTime)xValue).Day, 2299 yDate.Day,
Common\General\ChartAreaAxes.cs (2)
1977 ticksInterval += (date2.Day - date1.Day) * TimeSpan.TicksPerDay;
Common\General\ChartElement.cs (15)
1023 int day = (int)((int)(newStartDate.Day / intervalSize) * intervalSize); 1035 newStartDate.Month, newStartDate.Day, hour, 0, 0); 1042 newStartDate.Day, 1052 newStartDate.Day, 1063 newStartDate.Day, 1078 newStartDate.Month, newStartDate.Day, 0, 0, 0); 1203 dateValue.Month, dateValue.Day, 0, 0, 0); 1208 dateValue.Month, dateValue.Day, 0, 0, 0); 1213 dateValue.Month, dateValue.Day, 0, 0, 0); 1218 dateValue.Month, dateValue.Day, dateValue.Hour, 1225 dateValue.Day, 1234 dateValue.Day, 1243 dateValue.Month, dateValue.Day, 0, 0, 0); 1316 if(date.Day == DateTime.DaysInMonth(date.Year, date.Month)) 1330 date = date.AddDays(daysInMobth - date.Day);
Common\General\DataManipulator.cs (2)
1640 if(dateTimeValue.Day >= rangeElements[index] && 1641 dateTimeValue.Day <= rangeElements[index+1])
System.Workflow.Runtime (1)
Tracking\SqlTrackingService.cs (1)
2190return dateTime.Year.ToString(System.Globalization.CultureInfo.InvariantCulture) + PadToDblDigit(dateTime.Month) + PadToDblDigit(dateTime.Day) + " " + dateTime.Hour.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Minute.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Second.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Millisecond.ToString(System.Globalization.CultureInfo.InvariantCulture);
System.Xml (8)
System\Xml\BinaryXml\SqlUtils.cs (3)
895WriteDate(sb, dt.Year, dt.Month, dt.Day); 902WriteDate(sb, dt.Year, dt.Month, dt.Day); 978return (int)(dt.Ticks - new DateTime(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second).Ticks);
System\Xml\Schema\XsdDateTime.cs (4)
283get { return dt.Day; } 315get { return (int)(dt.Ticks - new DateTime(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second).Ticks); } 387TimeSpan addDiff = new DateTime(currentDateTime.Year, currentDateTime.Month, currentDateTime.Day) - new DateTime(xdt.Year, xdt.Month, xdt.Day); 444TimeSpan addDiff = new DateTime(currentDateTime.Year, currentDateTime.Month, currentDateTime.Day) - new DateTime(xdt.Year, xdt.Month, xdt.Day);
System\Xml\Serialization\XmlCodeExporter.cs (1)
259ticks = (new DateTime(dt.Year, dt.Month, dt.Day)).Ticks;
WindowsBase (2)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (1)
502result |= (((UInt32)dateTime.Day) & 0x1F) << 16;
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (1)
63Day = (ushort)dateTime.Day;
WsatUI (1)
Configuration\ETWWsatTraceSession.cs (1)
203localtime.Year, localtime.Month, localtime.Day, localtime.Hour,