Export (0) Print
Expand All

UmAlQuraCalendar.GetDayOfWeek Method

Calculates the day of the week on which a specified date occurs.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

abstract GetDayOfWeek : 
        time:DateTime -> DayOfWeek  
override GetDayOfWeek : 
        time:DateTime -> DayOfWeek

Parameters

time
Type: System.DateTime

The date value to read. The UmAlQuraCalendar class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).

Return Value

Type: System.DayOfWeek
A DayOfWeek value that represents the day of the week specified by the time parameter.

ExceptionCondition
ArgumentOutOfRangeException

time is outside the range supported by this calendar.

The DayOfWeek values are as follows:

DayOfWeek value

which indicates

Sunday

الاحد (Al-Ahad)

Monday

الاثنين (Al-Ithnayn)

Tuesday

الثلاثاء (At-Thulaathaa')

Wednesday

الاربعاء (Al-Arbi'aa')

Thursday

الخميس (Al-Khamiis)

Friday

الجمعة (Al-Jumu'ah)

Saturday

السبت (As-Sabt)

The following example displays the values of several components of a DateTime in terms of the Um Al Qura calendar.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft