116 references to Month
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)) 306return ClockDateTime.Month;
system\globalization\gregoriancalendar.cs (1)
429return time.Month;
system\security\cryptography\x509certificates\x509certificate.cs (1)
460if (!culture.DateTimeFormat.Calendar.IsValidDay(date.Year, date.Month, date.Day, 0)) {
PresentationFramework (14)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
260fwlink = String.Concat(fwlink, today.Month.ToString());
src\Framework\System\Windows\Controls\Calendar.cs (2)
1386DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1); 1450DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.Month, 1);
src\Framework\System\Windows\Controls\DatePicker.cs (4)
448if ((day.Month != dp.DisplayDate.Month || day.Year != dp.DisplayDate.Year) && !dp._calendar.DatePickerDisplayDateFlag) 1013int month = d.Month; 1028int month = discarded.Month;
src\Framework\System\Windows\Controls\DateTimeHelper.cs (6)
64target = DateTimeHelper.AddMonths(target.Value, yearMonth.Month - date.Month); 77return ((dt1.Year - dt2.Year) * 12) + (dt1.Month - dt2.Month); 87return new DateTime(d.Year, d.Month, 1, 0, 0, 0); 259result = monthNames[(date.Value.Month - 1) % monthNames.Length];
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
1052int daysInMonth = _calendar.GetDaysInMonth(firstDayOfMonth.Year, firstDayOfMonth.Month);
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)
269localBuilder.Append(s_months[value.Month]);
System.Activities (1)
System\Activities\Expressions\Literal.cs (1)
119literalValue.Month,
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
330unchecked((short)value.Month),
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (2)
597unchecked((short)value.Month), 637unchecked((short)value.Month),
System.Data.Linq (2)
SqlClient\SqlMethods.cs (2)
80return 12 * (endDate.Year - startDate.Year) + endDate.Month - startDate.Month;
System.Data.SqlXml (5)
System\Xml\Xsl\Runtime\XsltFunctions.cs (5)
319this.Month = (ushort)dateTime.Month; 442ShortToCharArray(text, 5, dt.Month); 448ShortToCharArray(text, 5, dt.Month); 455ShortToCharArray(text, 5, dt.Month); 516ShortToCharArray(text, 5, dt.Month);
System.Management (3)
ManagementDatetime.cs (3)
113 int month = DateTime.MinValue.Month; 285 dmtfDateTime = (dmtfDateTime + date.Month.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)
1084offset += ToCharsD2(value.Month, chars, offset);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
29wMonth = (short)date.Month;
System\ServiceModel\Security\SecurityTimestamp.cs (1)
111ToChars(utcTime.Month, 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)
513fileInfo.LastWriteTimeUtc.Month,
UI\WebControls\Calendar.cs (2)
1651if (lastOrSecondLastMonth && d.Month == maxSupportedDate.Month && d.Day == maxSupportedDate.Day) {
System.Web.DataVisualization (22)
Common\DataManager\DataPoint.cs (2)
2130 ((DateTime)xValue).Month, 2298 yDate.Month,
Common\General\ChartAreaAxes.cs (2)
1972 monthsInteval = date2.Month - date1.Month;
Common\General\ChartElement.cs (16)
1013 int month = (int)((int)(newStartDate.Month / intervalSize) * intervalSize); 1029 newStartDate.Month, day, 0, 0, 0); 1035 newStartDate.Month, newStartDate.Day, hour, 0, 0); 1041 newStartDate.Month, 1051 newStartDate.Month, 1062 newStartDate.Month, 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, 1224 dateValue.Month, 1233 dateValue.Month, 1243 dateValue.Month, dateValue.Day, 0, 0, 0); 1316 if(date.Day == DateTime.DaysInMonth(date.Year, date.Month)) 1329 int daysInMobth = DateTime.DaysInMonth(date.Year, date.Month);
Common\General\DataManipulator.cs (2)
1630 if(dateTimeValue.Month >= rangeElements[index] && 1631 dateTimeValue.Month <= 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 (12)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1714sys.wMonth = (short)time.Month;
winforms\Managed\System\WinForms\MonthCalendar.cs (11)
294monthsOfYear[value[i].Month-1] |= 0x00000001<<(value[i].Day-1); 1180monthsOfYear[date.Month-1] |= 0x00000001<<(date.Day-1); 1333int startMonth = range.Start.Month; 1339int month = date.Month; 1357return(t1.Day == t2.Day && t1.Month == t2.Month); 1795monthsOfYear[date.Month-1] &= ~(0x00000001<<(date.Day-1)); 2699if (System.DateTime.Equals(this.calendar.SelectionStart.Month, this.calendar.SelectionEnd.Month)) { 2736if (System.DateTime.Equals(this.calendar.SelectionStart.Month, this.calendar.SelectionEnd.Month)) {
System.Windows.Forms.DataVisualization (22)
Common\DataManager\DataPoint.cs (2)
2130 ((DateTime)xValue).Month, 2298 yDate.Month,
Common\General\ChartAreaAxes.cs (2)
1972 monthsInteval = date2.Month - date1.Month;
Common\General\ChartElement.cs (16)
1013 int month = (int)((int)(newStartDate.Month / intervalSize) * intervalSize); 1029 newStartDate.Month, day, 0, 0, 0); 1035 newStartDate.Month, newStartDate.Day, hour, 0, 0); 1041 newStartDate.Month, 1051 newStartDate.Month, 1062 newStartDate.Month, 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, 1224 dateValue.Month, 1233 dateValue.Month, 1243 dateValue.Month, dateValue.Day, 0, 0, 0); 1316 if(date.Day == DateTime.DaysInMonth(date.Year, date.Month)) 1329 int daysInMobth = DateTime.DaysInMonth(date.Year, date.Month);
Common\General\DataManipulator.cs (2)
1630 if(dateTimeValue.Month >= rangeElements[index] && 1631 dateTimeValue.Month <= 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)
275get { return dt.Month; } 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)
503result |= (((UInt32)dateTime.Month) & 0xF) << 21;
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (1)
61Month = (ushort)dateTime.Month;
WsatUI (1)
Configuration\ETWWsatTraceSession.cs (1)
203localtime.Year, localtime.Month, localtime.Day, localtime.Hour,