4 overrides of GetWeekOfYear
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
143public override int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
100public override int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
100public override int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
81public override int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
5 references to GetWeekOfYear
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
FormatWeekHelper.cs (1)
31var week = calendar.GetWeekOfYear(date, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\DateAndTime.vb (1)
268Return CurrentCalendar.GetWeekOfYear(DateValue, WeekRule, Day)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendarHelper.cs (1)
480return GregorianCalendar.GetDefaultInstance().GetWeekOfYear(time, rule, firstDayOfWeek);
System.Windows.Forms (2)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (1)
80int weekNumber = culture.Calendar.GetWeekOfYear(cellDate,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (1)
169.GetWeekOfYear(date, CultureInfo.CurrentCulture.DateTimeFormat.CalendarWeekRule,