/*=================================GetAbsoluteDateUmAlQura==========================
**Action: Gets the Absolute date for the given UmAlQura date. The absolute date means
** the number of days from January 1st, 1 A.D.
**Returns:
**Arguments:
**Exceptions:
============================================================================*/
private static long GetAbsoluteDateUmAlQura(int year, int month, int day)
{
//Caller should check the validaty of year, month and day.
int yg = 0, mg = 0, dg = 0;
ConvertHijriToGregorian(year, month, day, ref yg, ref mg, ref dg);
return GregorianCalendar.GetAbsoluteDate(yg, mg, dg);
}