CalendarIdentifiers.Hijri | hijri property

Applies to Windows and Windows Phone

Gets the identifier for the Hijri calendar.

Syntax


var hijri = Windows.Globalization.CalendarIdentifiers.hijri;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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 MonthDays 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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization
Windows::Globalization [C++]

Metadata

Windows.winmd

See also

CalendarIdentifiers
ResolvedLanguage

 

 

Show:
© 2014 Microsoft. All rights reserved.