CalendarIdentifiers.Hijri Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the identifier for the Hijri calendar.
public:
static property Platform::String ^ Hijri { Platform::String ^ get(); };
static winrt::hstring Hijri();
public static string Hijri { get; }
var string = CalendarIdentifiers.hijri;
Public Shared ReadOnly Property Hijri As String
Property Value
The string "HijriCalendar", which is the identifier for the Hijri calendar.
Remarks
The Hijri calendar system recognizes one era: A.H. (Latin "Anno Hegirae", which means "the year of the migration", in reference to the migration of Muhammad from Mecca).
In every 30-year cycle that ends with a year that is evenly divisible by 30, the 2nd, 5th, 7th, 10th, 13th, 16th, 18th, 21st, 24th, 26th, and 29th years are leap years. A common year has 354 days and a leap year has 355 days.
The Hijri calendar has 12 months with 29 to 30 days each:
MonthAsNumericString | Month | Days in common years | Days in leap years |
---|---|---|---|
1 | محرم (Muharram) | 30 | 30 |
2 | صفر (Safar) | 29 | 29 |
3 | ربيع الاول (Rabi I) | 30 | 30 |
4 | ربيع الثاني (Rabi II) | 29 | 29 |
5 | جمادى الاولى (Jumada I) | 30 | 30 |
6 | جمادى الثانية (Jumada II) | 29 | 29 |
7 | رجب (Rajab) | 30 | 30 |
8 | شعبان (Shaban) | 29 | 29 |
9 | رمضان (Ramadan) | 30 | 30 |
10 | شوال (Shawwal) | 29 | 29 |
11 | ذو القعدة (Zulkadah) | 30 | 30 |
12 | ذو الحجة (Zulhijjah) | 29 | 30 |
Ramadan, the month of fasting in the Muslim world, officially starts and ends according to a decree that is based on the observation of the new moon. Therefore, the number of days in Shaban and the number of days in Ramadan vary.
The date January 1, 2012 A.D. in the Gregorian calendar is roughly equivalent to the seventh day of Safar in the year 1433 A.H. in the Hijri calendar.
Hijri calendar strings for day of the week names and month names are not localized and hence will appear in Arabic regardless of the current value of the ResolvedLanguage property of the calendar object.