11 overrides of GetDayOfWeek
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Globalization\EastAsianLunisolarCalendar.cs (1)
575
public override DayOfWeek
GetDayOfWeek
(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (1)
199
public override DayOfWeek
GetDayOfWeek
(DateTime time) => time.DayOfWeek;
src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewCalendar.cs (1)
610
public override DayOfWeek
GetDayOfWeek
(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\HijriCalendar.cs (1)
314
public override DayOfWeek
GetDayOfWeek
(DateTime time) => time.DayOfWeek;
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
128
public override DayOfWeek
GetDayOfWeek
(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\JulianCalendar.cs (1)
227
public override DayOfWeek
GetDayOfWeek
(DateTime time) => time.DayOfWeek;
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
85
public override DayOfWeek
GetDayOfWeek
(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\PersianCalendar.cs (1)
263
public override DayOfWeek
GetDayOfWeek
(DateTime time) => time.DayOfWeek;
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
85
public override DayOfWeek
GetDayOfWeek
(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
66
public override DayOfWeek
GetDayOfWeek
(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\UmAlQuraCalendar.cs (1)
462
public override DayOfWeek
GetDayOfWeek
(DateTime time) => time.DayOfWeek;
9 references to GetDayOfWeek
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
FormatWeekHelper.cs (1)
22
var day = calendar.
GetDayOfWeek
(date);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\DateAndTime.vb (1)
503
iDayOfWeek = CurrentCalendar.
GetDayOfWeek
(DateValue) + 1 ' System.DateTime uses Sunday = 0 thru Satuday = 6
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
1369
DayOfWeek day = _calendar.
GetDayOfWeek
(firstOfMonth);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Globalization\Calendar.cs (3)
367
int dayForJan1 = (int)
GetDayOfWeek
(time) - (dayOfYear % 7);
405
dayForJan1 = (int)
GetDayOfWeek
(time) - (dayOfYear % 7);
440
int dayOfWeekOfFirstOfYear = (int)
GetDayOfWeek
(MinSupportedDateTime) - dayOfYear % 7;
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
567
int dayOfWeek = (int)cal.
GetDayOfWeek
(dateTime);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (2)
2714
if (raw.dayOfWeek != (int)result.calendar.
GetDayOfWeek
(time))
4778
if (parseInfo.dayOfWeek != (int)parseInfo.calendar.
GetDayOfWeek
(result.parsedDate))