116 references to Month
mscorlib (9)
system\datetime.cs (3)
246
if (!IsValidTimeWithLeapSeconds(dt.Year, dt.
Month
, dt.Day, dt.Hour, dt.Minute, 60, DateTimeKind.Unspecified))
330
if (!IsValidTimeWithLeapSeconds(dt.Year, dt.
Month
, dt.Day, dt.Hour, dt.Minute, 60, DateTimeKind.Unspecified))
365
if (!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))
306
return ClockDateTime.
Month
;
system\globalization\gregoriancalendar.cs (1)
429
return time.
Month
;
system\security\cryptography\x509certificates\x509certificate.cs (1)
460
if (!culture.DateTimeFormat.Calendar.IsValidDay(date.Year, date.
Month
, date.Day, 0)) {
PresentationFramework (14)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
260
fwlink = String.Concat(fwlink, today.
Month
.ToString());
src\Framework\System\Windows\Controls\Calendar.cs (2)
1386
DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.
Month
, 1);
1450
DateTime? selectedDate = new DateTime(this.DisplayDateInternal.Year, this.DisplayDateInternal.
Month
, 1);
src\Framework\System\Windows\Controls\DatePicker.cs (4)
448
if ((day.
Month
!= dp.DisplayDate.
Month
|| day.Year != dp.DisplayDate.Year) && !dp._calendar.DatePickerDisplayDateFlag)
1013
int month = d.
Month
;
1028
int month = discarded.
Month
;
src\Framework\System\Windows\Controls\DateTimeHelper.cs (6)
64
target = DateTimeHelper.AddMonths(target.Value, yearMonth.
Month
- date.
Month
);
77
return ((dt1.Year - dt2.Year) * 12) + (dt1.
Month
- dt2.
Month
);
87
return new DateTime(d.Year, d.
Month
, 1, 0, 0, 0);
259
result = monthNames[(date.Value.
Month
- 1) % monthNames.Length];
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
1052
int daysInMonth = _calendar.GetDaysInMonth(firstDayOfMonth.Year, firstDayOfMonth.
Month
);
System (2)
compmod\system\componentmodel\DateTimeConverter.cs (1)
143
dt.Year, dt.
Month
, dt.Day, dt.Hour, dt.Minute, dt.Second, dt.Millisecond});
net\System\Net\mail\MailBnfHelper.cs (1)
269
localBuilder.Append(s_months[value.
Month
]);
System.Activities (1)
System\Activities\Expressions\Literal.cs (1)
119
literalValue.
Month
,
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
330
unchecked((short)value.
Month
),
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (2)
597
unchecked((short)value.
Month
),
637
unchecked((short)value.
Month
),
System.Data.Linq (2)
SqlClient\SqlMethods.cs (2)
80
return 12 * (endDate.Year - startDate.Year) + endDate.
Month
- startDate.
Month
;
System.Data.SqlXml (5)
System\Xml\Xsl\Runtime\XsltFunctions.cs (5)
319
this.Month = (ushort)dateTime.
Month
;
442
ShortToCharArray(text, 5, dt.
Month
);
448
ShortToCharArray(text, 5, dt.
Month
);
455
ShortToCharArray(text, 5, dt.
Month
);
516
ShortToCharArray(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)
1084
offset += ToCharsD2(value.
Month
, chars, offset);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
29
wMonth = (short)date.
Month
;
System\ServiceModel\Security\SecurityTimestamp.cs (1)
111
ToChars(utcTime.
Month
, buffer, ref offset, 2);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
38
this.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)
1895
return new DateTime(utcDateTime.Year, utcDateTime.
Month
, utcDateTime.Day, utcDateTime.Hour, utcDateTime.Minute, utcDateTime.Second, DateTimeKind.Utc);
StaticFileHandler.cs (1)
513
fileInfo.LastWriteTimeUtc.
Month
,
UI\WebControls\Calendar.cs (2)
1651
if (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)
29
return 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)
1714
sys.wMonth = (short)time.
Month
;
winforms\Managed\System\WinForms\MonthCalendar.cs (11)
294
monthsOfYear[value[i].
Month
-1] |= 0x00000001<<(value[i].Day-1);
1180
monthsOfYear[date.
Month
-1] |= 0x00000001<<(date.Day-1);
1333
int startMonth = range.Start.
Month
;
1339
int month = date.
Month
;
1357
return(t1.Day == t2.Day && t1.
Month
== t2.
Month
);
1795
monthsOfYear[date.
Month
-1] &= ~(0x00000001<<(date.Day-1));
2699
if (System.DateTime.Equals(this.calendar.SelectionStart.
Month
, this.calendar.SelectionEnd.
Month
)) {
2736
if (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)
2190
return 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)
895
WriteDate(sb, dt.Year, dt.
Month
, dt.Day);
902
WriteDate(sb, dt.Year, dt.
Month
, dt.Day);
978
return (int)(dt.Ticks - new DateTime(dt.Year, dt.
Month
, dt.Day, dt.Hour, dt.Minute, dt.Second).Ticks);
System\Xml\Schema\XsdDateTime.cs (4)
275
get { return dt.
Month
; }
315
get { return (int)(dt.Ticks - new DateTime(dt.Year, dt.
Month
, dt.Day, dt.Hour, dt.Minute, dt.Second).Ticks); }
387
TimeSpan addDiff = new DateTime(currentDateTime.Year, currentDateTime.
Month
, currentDateTime.Day) - new DateTime(xdt.Year, xdt.Month, xdt.Day);
444
TimeSpan addDiff = new DateTime(currentDateTime.Year, currentDateTime.
Month
, currentDateTime.Day) - new DateTime(xdt.Year, xdt.Month, xdt.Day);
System\Xml\Serialization\XmlCodeExporter.cs (1)
259
ticks = (new DateTime(dt.Year, dt.
Month
, dt.Day)).Ticks;
WindowsBase (2)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (1)
503
result |= (((UInt32)dateTime.
Month
) & 0xF) << 21;
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (1)
61
Month = (ushort)dateTime.
Month
;
WsatUI (1)
Configuration\ETWWsatTraceSession.cs (1)
203
localtime.Year, localtime.
Month
, localtime.Day, localtime.Hour,