This documentation is archived and is not being maintained.
UmAlQuraCalendar::GetDayOfWeek Method
Visual Studio 2010
Calculates the day of the week on which a specified date occurs.
Assembly: mscorlib (in mscorlib.dll)
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 05/13/2029 23:59:59 (Gregorian date).
Return Value
Type: System::DayOfWeekA DayOfWeek value that represents the day of the week specified by the time parameter.
| Exception | Condition |
|---|---|
| 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) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: