11 overrides of GetMonth
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Globalization\EastAsianLunisolarCalendar.cs (1)
547public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (1)
241public override int GetMonth(DateTime time) => time.Month;
src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewCalendar.cs (1)
691public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\HijriCalendar.cs (1)
349public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
153public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\JulianCalendar.cs (1)
250public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
110public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\PersianCalendar.cs (1)
308public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
110public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
91public override int GetMonth(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\UmAlQuraCalendar.cs (1)
515public override int GetMonth(DateTime time)
10 references to GetMonth
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
FormatWeekHelper.cs (1)
33var month = calendar.GetMonth(date);
Microsoft.VisualBasic.Core (6)
Microsoft\VisualBasic\DateAndTime.vb (6)
189Return (cal.GetYear(Date2) - cal.GetYear(Date1)) * 12 + cal.GetMonth(Date2) - cal.GetMonth(Date1) 208Return (cal.GetYear(Date2) - cal.GetYear(Date1)) * 4 + (cal.GetMonth(Date2) - 1) \ 3 - (cal.GetMonth(Date1) - 1) \ 3 236Return CurrentCalendar.GetMonth(DateValue) 472Return CurrentCalendar.GetMonth(DateValue)
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
579int month = cal.GetMonth(dateTime);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (1)
3909result.Month = cal.GetMonth(now);
src\libraries\System.Private.CoreLib\src\System\Globalization\EastAsianLunisolarCalendar.cs (1)
409int gm = gregorianCalendar.GetMonth(time);