38 references to FirstDayOfWeek
Microsoft.VisualBasic (1)
Microsoft.VisualBasic.cs (1)
58
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.VisualBasic.
FirstDayOfWeek
))]
Microsoft.VisualBasic.Core (37)
Microsoft\VisualBasic\Constants.vb (16)
48
Public Const vbUseSystemDayOfWeek As
FirstDayOfWeek
=
FirstDayOfWeek
.System
49
Public Const vbSunday As
FirstDayOfWeek
=
FirstDayOfWeek
.Sunday
50
Public Const vbMonday As
FirstDayOfWeek
=
FirstDayOfWeek
.Monday
51
Public Const vbTuesday As
FirstDayOfWeek
=
FirstDayOfWeek
.Tuesday
52
Public Const vbWednesday As
FirstDayOfWeek
=
FirstDayOfWeek
.Wednesday
53
Public Const vbThursday As
FirstDayOfWeek
=
FirstDayOfWeek
.Thursday
54
Public Const vbFriday As
FirstDayOfWeek
=
FirstDayOfWeek
.Friday
55
Public Const vbSaturday As
FirstDayOfWeek
=
FirstDayOfWeek
.Saturday
Microsoft\VisualBasic\DateAndTime.vb (21)
175
Optional ByVal DayOfWeek As
FirstDayOfWeek
=
FirstDayOfWeek
.Sunday,
214
Private Function GetDayOfWeek(ByVal dt As Date, ByVal weekdayFirst As
FirstDayOfWeek
) As Integer
215
If (weekdayFirst <
FirstDayOfWeek
.System OrElse weekdayFirst >
FirstDayOfWeek
.Saturday) Then
220
If (weekdayFirst =
FirstDayOfWeek
.System) Then
221
weekdayFirst = CType(GetDateTimeFormatInfo().FirstDayOfWeek + 1,
FirstDayOfWeek
)
228
Optional ByVal FirstDayOfWeekValue As
FirstDayOfWeek
= vbSunday,
300
Optional ByVal DayOfWeek As
FirstDayOfWeek
=
FirstDayOfWeek
.Sunday,
328
Optional ByVal DayOfWeek As
FirstDayOfWeek
=
FirstDayOfWeek
.Sunday,
491
Public Function Weekday(ByVal DateValue As DateTime, Optional ByVal DayOfWeek As
FirstDayOfWeek
=
FirstDayOfWeek
.Sunday) As Integer
492
If DayOfWeek =
FirstDayOfWeek
.System Then
494
DayOfWeek = CType(DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek + 1,
FirstDayOfWeek
)
496
ElseIf (DayOfWeek <
FirstDayOfWeek
.Sunday) OrElse (DayOfWeek >
FirstDayOfWeek
.Saturday) Then
531
Public Function WeekdayName(ByVal Weekday As Integer, Optional ByVal Abbreviate As Boolean = False, Optional ByVal FirstDayOfWeekValue As
FirstDayOfWeek
=
FirstDayOfWeek
.System) As String
546
FirstDayOfWeekValue = CType(CInt(dtfi.FirstDayOfWeek) + 1,
FirstDayOfWeek
)