HijriDate

The class which handles Hijri 🌙 instances

new HijriDate()
Example
new HijriDate(); //now
new HijriDate(1438, 12, 10) ; // يوم عيد الأضحى لسنة ١٤٣٨
new HijriDate(1438,7, 20, 18, 50, 44, 333); //  Monday Rajab 20 1438 18:50:44
new HijriDate({year:1355, hours:17}); // Tue Muharram 01 1355 17:00:00
new HijriDate(1484408713014);


new HijriDate().toGregorian(); //  === new Date();
new Date().toHijri(); //  === new HijriDate();
Static Members
▸ now()
▸ today()
▸ yesterday()
▸ tomorrow()
Instance Members
▸ constructor(time)
▸ constructor(date, format = 'yyyy/mm/dd')
▸ constructor(dateProps)
▸ constructor(year, month, date = 1, hours = 0, minutes = 0, seconds = 0, number)
▸ year
▸ year
▸ addDay()
▸ addDays(days)
▸ addHours(n)
▸ addMinutes(n)
▸ addSeconds(n)
▸ addMilliseconds(n)
▸ subtractDays(days)
▸ subtractDay()
▸ subtractHours(n)
▸ subtractMinutes(n)
▸ subtractSeconds(n)
▸ subtractMilliseconds(n)
▸ updateProxy()
▸ toGregorian()
▸ format(mask, options)
▸ ignoreTime()
▸ clone()
▸ is()
▸ isToday()
▸ isYesterday()
▸ isTomorrow()