Delen via


CalendarIdentifiers.Hijri Property

Definition

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

String

Platform::String

winrt::hstring

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:

MonthAsNumericStringMonthDays in common yearsDays in leap years
1محرم (Muharram)3030
2صفر (Safar)2929
3‏ربيع الاول (Rabi I)3030
4‏ربيع الثاني (Rabi II)2929
5جمادى الاولى (Jumada I)3030
6جمادى الثانية (Jumada II)2929
7رجب (Rajab)3030
8شعبان (Shaban)2929
9رمضان (Ramadan)3030
10شوال (Shawwal)2929
11ذو القعدة (Zulkadah)3030
12ذو الحجة (Zulhijjah)2930

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.

Applies to

See also